Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    Minnesota
    Posts
    39
    Plugin Contributions
    0

    Default Header Positions Problem

    It seems that the checks for wether the banners are on or off isn't working when you set the Multiple Banner Groups in the Header Positions under Admin > Layout Settings > Banner Display Groups - Header Position 1.

    My current entry is CPC:Wide-Banners for Header Position 1, which is allowing the banners that are off to display.

    I have all Wide Banners off, except for 2, and I am getting banners that are supposed to be inactive coming up.

    But they don't appear in the footer position 3.

    I have not done extensive testing.

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

    Default Re: Header Positions Problem

    I set the setting to Wide-Banners ...

    I go to Banner Manager and set all status to OFF or RED icon ...

    Banners that were displaying vanish ...

    Make sure that you only have the 1 Banner Group in the:
    Banner Display Groups - Header Position 1

    Check the code in:
    /includes/templates/template_default/common/tpl_main_page.php

    Make sure it is current and up to date and that you do not have an override that is missing the settings for:
    PHP Code:
    <?php
      
    if (SHOW_BANNERS_GROUP_SET1 != '' && $banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET1)) {
        if (
    $banner->RecordCount() > 0) {
    ?>
    <div id="bannerOne" class="banners"><?php echo zen_display_banner('static'$banner); ?></div>
    <?php
        
    }
      }
    ?>
    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!]
    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!

  3. #3
    Join Date
    Jun 2006
    Location
    Minnesota
    Posts
    39
    Plugin Contributions
    0

    Default Re: Header Positions Problem

    Quote Originally Posted by Ajeh
    I set the setting to Wide-Banners ...

    I go to Banner Manager and set all status to OFF or RED icon ...

    Banners that were displaying vanish ...

    Make sure that you only have the 1 Banner Group in the:
    Banner Display Groups - Header Position 1
    [/PHP]
    The point was that I did want more than one group to show, and it was showing the second group fine, except with the ones that were off also showing (unwanted behaviour).

    Quote Originally Posted by Ajeh

    Check the code in:
    /includes/templates/template_default/common/tpl_main_page.php

    Make sure it is current and up to date and that you do not have an override that is missing the settings for:
    PHP Code:
    <?php
      
    if (SHOW_BANNERS_GROUP_SET1 != '' && $banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET1)) {
        if (
    $banner->RecordCount() > 0) {
    ?>
    <div id="bannerOne" class="banners"><?php echo zen_display_banner('static'$banner); ?></div>
    <?php
        
    }
      }
    ?>
    Verified the code is there, this file is not one that an override exists for.

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

    Default Re: Header Positions Problem

    What are the names of your Banner Groups ... and how do you have that filled in for the:
    Banner Display Groups - Header 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!]
    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!

  5. #5
    Join Date
    Jun 2006
    Location
    Minnesota
    Posts
    39
    Plugin Contributions
    0

    Default Re: Header Positions Problem

    Quote Originally Posted by Ajeh
    What are the names of your Banner Groups ... and how do you have that filled in for the:
    Banner Display Groups - Header Position 1
    I had it filled in CPC:Wide-Banners


    I have it testing on Footers for now... here is the setting

    Banner Display Groups - Footer Position 1 CPC:Wide-Banners

    All the zencart/slashbox/etc is off. (Red Dot)

    There is only one banner in CPC and only 2 turned on in Wide-Banners

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

    Default Re: Header Positions Problem

    Does this mean it is or isn't working?

    I have no idea what banner is from what banner group
    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!]
    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. change atrribute positions
    By Andy-C27 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 10 Apr 2015, 09:03 AM
  2. Banner positions
    By Shane78 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Mar 2010, 08:49 PM
  3. Additional image positions
    By acanthuscarver in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Dec 2009, 08:11 PM

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