Re: Seasonal Centerbox [support thread]
Quick question on this great plug-in:
How do i get to display between the special centerbox and the featured centerbox?
I know the order of special/featured/new product can be change via admin but no luck with seasonal centerbox.
I tried to move the display code between
Code:
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?
and
Code:
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
<?php
it appears to work at first by displaying seasonal box between the two. However, i end up with the seasonal box being display 2 more times below again. ( so 3 seasonal box total on main page :( )
Any suggestion on this please?
Thank you
Re: Seasonal Centerbox [support thread]
For clarification: the file being modified is
includes/templates/YOUR_TEMPLATE/templates/tpl_index_default.php
You added this block:
<?php require($template->get_template_dir('tpl_modules_seasonal.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_seasonal.php'); ?>
above
while (!$show_display_category->EOF) {
(per the instructions). Remove that.
Now place that block between
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
and the following line
<?php } ?>
Re: Seasonal Centerbox [support thread]
Quote:
Originally Posted by
swguy
For clarification: the file being modified is
includes/templates/YOUR_TEMPLATE/templates/tpl_index_default.php
You added this block:
<?php require($template->get_template_dir('tpl_modules_seasonal.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_seasonal.php'); ?>
above
while (!$show_display_category->EOF) {
(per the instructions). Remove that.
Now place that block between
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
and the following line
<?php } ?>
Thank you for the prompt reply and assitance.
It works perfectly
Re: Seasonal Centerbox [support thread]
You could of course add a SHOW_ key but I find that so complicated I didn't suggest it in my install documentation.
Glad it works for you.
Re: Seasonal Centerbox [support thread]
Hello everyone,
ZC 1.5.7
Bootstrap template
I installed this plug in on my website upgrade.
Installation went smooth and easy but i am getting some display issue.
Somehow the seasonal centerbox is not following the same "layout"as the featuredand/or special centerbox.
What do i need to do in order to fix it? site is at http://www.royal-fleur.com/upgrade
Thank you for the help
Re: Seasonal Centerbox [support thread]
Be sure you are using ./includes/modules/bootstrap/seasonal_index.php from the zip file, and not ./includes/modules/custom/seasonal_index.php.
Re: Seasonal Centerbox [support thread]
Quote:
Originally Posted by
swguy
Be sure you are using ./includes/modules/bootstrap/seasonal_index.php from the zip file, and not ./includes/modules/custom/seasonal_index.php.
I don t have a ./includes/modules/bootstrap/seasonal_index.php in the plugin zip file.
I copied the file ./includes/modules/custom/seasonal_index.php. from the release into ./includes/modules/bootstrap/.
Excuse my ignorance but where do i find thecorrect file?
Also should the file be placed in ./includes/modules/bootstrap/ or ./includes/modules/bootstrap/centerboxes?
Thank you
Re: Seasonal Centerbox [support thread]
You're right - I thought I had uploaded that change but I guess I didn't. Grab the new version and update ./includes/modules/bootstrap/seasonal_index.php.
Re: Seasonal Centerbox [support thread]
Quote:
Originally Posted by
swguy
You're right - I thought I had uploaded that change but I guess I didn't. Grab the new version and update ./includes/modules/bootstrap/seasonal_index.php.
Thank you very much for the fast reply and help.
The new file fixed the display layout to match the rest of thew centerboxes.
However , the pictures are really small. How can i fix that?
Thank you
Re: Seasonal Centerbox [support thread]