Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2010
    Posts
    21
    Plugin Contributions
    0

    Idea or Suggestion Banner Display Groups

    Hello everyone,
    I have the following problem:
    I bought a template in which the "Banner Display Groups - Header Position 3"is set = header-banner. The banner is displayed on every page of the site. But I would like that but it only shows the home page.
    How can I do?
    The site in question is http://www.canove.it

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default 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
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Nov 2010
    Posts
    21
    Plugin Contributions
    0

    Default Re: Banner Display Groups

    Thank you very much, your instructions were perfect

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Banner Display Groups

    The Banner Group 4 is:
    Banner Display Groups - Footer Position 1
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Banner Display Groups

    Quote Originally Posted by Ajeh View Post
    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?

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Banner Display Groups - Header Position 1
    By AlainC in forum General Questions
    Replies: 3
    Last Post: 20 Nov 2013, 02:04 AM
  2. Banner Display Groups - Header Position 2 question
    By xplosiv in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Nov 2011, 11:07 PM
  3. How To Add more banner display groups?
    By cuda in forum Basic Configuration
    Replies: 12
    Last Post: 11 Nov 2010, 04:54 PM
  4. Banner Display Groups - Header Position 1 Center???
    By rickintn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Mar 2008, 06:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR