Re: Banner Display Groups
Unfortunately you have selected a template from the worst template provider there is - - Template monster
Search for them on this forum and you will see that they take huge license in how they construct them and disable many standard ZenCart features
You will have to ask them how to tune their template
Re: Banner Display Groups
If this code is still in the file you will find it in:
/includes/modules/templates/your_template_dir/common/tpl_main_page.php
If you do not have that file, then copy the file from:
/includes/modules/templates/template_default/common/tpl_main_page.php
and edit the line, around line 107 in the original, to read:
Code:
if ($this_is_home_page && SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
Now the banners in the defined Banner Group(s) will only show on the Home Page ...
Re: Banner Display Groups
Thank you very much, your instructions were perfect :clap:
Re: Banner Display Groups
Thanks for the update that this custom code was able to adjust the display of your banners so that they only showed on the Home Page for that specific banner position ... :smile:
Re: Banner Display Groups
Off topic but on topic. What is Banners Group Set 4? It is listed below Group Set 3 but in the Admin>Layout Controls there is only an option to set group names for 1, 2, and 3. I searched forums and tutorials. Still confused.
Re: Banner Display Groups
The Banner Group 4 is:
Banner Display Groups - Footer Position 1
Re: Banner Display Groups
Quote:
Originally Posted by
Ajeh
The Banner Group 4 is:
Banner Display Groups - Footer Position 1
Thanks. Is there a map for all of these banner positions? Instructions for adding more?
Re: Banner Display Groups
To find the code you could do a search in the Tools ... Developers Tool Kit ... in the bottom input box for:
BANNERS_GROUP
and that will show you where the code is ...
Otherwise, you need to add a Banner Group to the position in the Layout Settings with a banner that is active to see them ...