Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    80
    Plugin Contributions
    0

    Default More than 1 Banner in footer

    Is it possible to make more than 1 banner show in the footer of zencart.

    I want to show those small 150x50 px banners that other sites give you to track how many people visit your site, also allowing them from that site to click and go to your site. Make sense. rofl.

    IF this is possible, which I know I've seen others have done, how do I set it up.

    Right now, I can only get 1 to show at a time. Thanks.

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

    Default Re: More than 1 Banner in footer

    You could customize the footer to use more ...

    For example, if you are using the Banner for Position 2 in the footer, you will see in the file:
    tpl_footer.php

    Code:
    <!--bof-banner #5 display -->
    <?php
      if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
        if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
        }
      }
    ?>
    <!--eof-banner #5 display -->
    Customizing the code to call that group or others would allow you to have multiple banners in the footer ...
    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
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: More than 1 Banner in footer

    Quote Originally Posted by Ajeh View Post
    You could customize the footer to use more ...

    For example, if you are using the Banner for Position 2 in the footer, you will see in the file:
    tpl_footer.php

    Code:
    <!--bof-banner #5 display -->
    <?php
      if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
        if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
        }
      }
    ?>
    <!--eof-banner #5 display -->
    Customizing the code to call that group or others would allow you to have multiple banners in the footer ...
    I would like to add more than one banner across my footer too. What do I have to do to modify the code shown? I have the same coding.

    Thanks, Kim

  4. #4
    Join Date
    Apr 2009
    Posts
    80
    Plugin Contributions
    0

    Default Re: More than 1 Banner in footer

    Thanks, I've got it figured out, I just added it all in one area. It works much better, all in once place and easier to maange. Thanks!

  5. #5
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: More than 1 Banner in footer

    Quote Originally Posted by neparker View Post
    Thanks, I've got it figured out, I just added it all in one area. It works much better, all in once place and easier to maange. Thanks!
    How did you do it?

  6. #6
    Join Date
    Apr 2009
    Posts
    80
    Plugin Contributions
    0

    Default Re: More than 1 Banner in footer

    I created a new banner in my footer section like you normally would, then did all my html text with spaces between them. So I have 8 items in my footer section.

 

 

Similar Threads

  1. More than one banner in footer
    By KenshiroU in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 May 2013, 01:52 PM
  2. banner header position 3 show more than 1 banner
    By Greybeard in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Dec 2009, 11:25 PM
  3. How to add more than just header, footer, and sidebox ez pages areas?
    By johnlutz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Oct 2008, 10: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