Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2011
    Posts
    12
    Plugin Contributions
    0

    Default Banner Placement

    Im working with a template and I have in Config - Layout Settings - Banner Display Group - Header Position 1, I selected banner1 but nothing appears in the location. Needing some help with managing the placement of my banners.

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Banner Placement

    If banner 1 is set on then anywhere this code is placed your banner will show


    <!--bof-banner #1 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET5 != '' && $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
    }
    }
    ?>
    <!--eof-banner #1 display -->


    If using a not zen cart template who knows if you have any banner code
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  3. #3

    Default Re: Banner Placement

    I have no idee how to set the banner settings in the admin section but i did create a banner for the bottom of my site, it displayed below the copyright message and i wanted it above that. I searched the forum but ebenthough the question was raised there was no answer that i found. I finally found a way to get it to show above the copyright message.
    The banner showed up as banner 6 and i went into the tpl_main_page.php and moved

    <!--bof- banner #6 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    <!--eof- banner #6 display -->

    to show up above

    " <?php
    /**
    * prepares and displays footer output
    *
    */"
    then i commented out the original lines and voila the banner showed up above the copyright.
    Am i messing things up here or is this the only way to get that banner to show up like that?

    Thanks

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Banner Placement

    Quote Originally Posted by theboxinghistorian View Post
    Im working with a template and I have in Config - Layout Settings - Banner Display Group - Header Position 1, I selected banner1 but nothing appears in the location. Needing some help with managing the placement of my banners.
    You wouldn't select "banner1", but rather a banner group such as BannersAll or Wide-Banners.

  5. #5
    Join Date
    Jan 2012
    Location
    Montreal
    Posts
    84
    Plugin Contributions
    0

    Default Re: Banner Placement

    Quote Originally Posted by windsurfer View Post
    I have no idee how to set the banner settings in the admin section but i did create a banner for the bottom of my site, it displayed below the copyright message and i wanted it above that. I searched the forum but ebenthough the question was raised there was no answer that i found. I finally found a way to get it to show above the copyright message.
    The banner showed up as banner 6 and i went into the tpl_main_page.php and moved

    <!--bof- banner #6 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    <!--eof- banner #6 display -->

    to show up above

    " <?php
    /**
    * prepares and displays footer output
    *
    */"
    then i commented out the original lines and voila the banner showed up above the copyright.
    Am i messing things up here or is this the only way to get that banner to show up like that?

    Thanks
    I had the same issue. I just hard coded my html into the appropriate php page. I'd like to figure out how to be able to code it up so it can be manipulated via the Admin panel. I guess I'll need to learn more php.

 

 

Similar Threads

  1. Banner placement question.
    By ozjewels in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Dec 2011, 02:01 PM
  2. Button placement
    By Unicorn in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Jul 2010, 01:40 PM
  3. Banner Placement
    By staceyx in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Jun 2009, 05:30 PM
  4. Banner/Elements placement
    By cpking in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 3 Sep 2007, 02:15 PM
  5. Banner Ad placement?
    By kbalona in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Jun 2007, 08:20 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