Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    103
    Plugin Contributions
    0

    Default Multiple Banners in Footer

    I have seen how to do this somewhere but cannot find it again.

    I want to have 4 evenly spaced banners in my footer similar to how it has been done at monkeyshine.com, but I cannot find information on how to do it.

    I asked the same question in the cherry_zen thread but no response, so I am asking it in its own thread (apologies if I have duplicated)

    I have also PM'd Kuroi but he has not got back yet and I am under the clock on this a little

    If anyone can provide a link to a thread which shows how to do this, or post idiot proof instructions on how to do this, please let me know.

    Many thanks

    Paul

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Multiple Banners in Footer

    Quote Originally Posted by bekinky View Post
    I have seen how to do this somewhere but cannot find it again.
    Probably here.

    Quote Originally Posted by bekinky View Post
    I want to have 4 evenly spaced banners in my footer similar to how it has been done at monkeyshine.com, but I cannot find information on how to do it.
    For www.monkeyshine.co.uk, all I did was re-arrange four of the built-in Zen Cart banners from their normal locations to the tpl_main_page template as follows
    PHP Code:
    <!-- bof footer banner cluster -->
    <?php
    if (!isset($flag_disable_banner_block) || !$flag_disable_banner_block) {
        if (
    SHOW_BANNERS_GROUP_SET4 != '' || SHOW_BANNERS_GROUP_SET5 != '' || SHOW_BANNERS_GROUP_SET6 != '' || SHOW_BANNERS_GROUP_SET9 != '') {
            echo 
    '<div id="footerBanners">' "\n";
            if (
    SHOW_BANNERS_GROUP_SET4 != '' && ($banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET4)) && $banner->RecordCount() > 0) {
                echo 
    '<div id="bannerFour" class="banners">' zen_display_banner('static'$banner) . '</div>' "\n";
            }
            if (
    SHOW_BANNERS_GROUP_SET5 != '' && ($banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET5)) && $banner->RecordCount() > 0) {
                echo 
    '<div id="bannerFive" class="banners">' zen_display_banner('static'$banner) . '</div>' "\n";
            }
            if (
    SHOW_BANNERS_GROUP_SET6 != '' && ($banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET6)) && $banner->RecordCount() > 0) {
                echo 
    '<div id="bannerSix" class="banners">' zen_display_banner('static'$banner) . '</div>' "\n";
            }
            if (
    SHOW_BANNERS_GROUP_SET9 != '' && ($banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET9)) && $banner->RecordCount() > 0) {
                echo 
    '<div id="bannerNine" class="banners">' zen_display_banner('static'$banner) . '</div>' "\n";
            }
            echo 
    '</div>' "\n";
        }
    }
    ?>
    <!-- eof footer banner cluster -->
    and then apply some very simple CSS to the resulting HTML
    /* Banners */
    #footerBanners {clear:both}
    #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #bannerNine {float:left; margin:10px 0 10px 10px}
    The only wrinkle was dealing with the IE6 double margin float bug, for which I created the following stylesheet
    /* IE6 Double Margin Float Bug fix */
    #bannerOne, #bannerFour {margin:10px 0 10px 5px}
    and applied it using my IE stylesheets mod available from the downloads section.

    Quote Originally Posted by bekinky View Post
    I have also PM'd Kuroi but he has not got back yet
    Despite my best efforts to be available 24/7, I tend to find that earning a living sometimes gets in the way!

    Also worth mentioning while we're on the topic that, like many of the active members of the forum, it's rare that I answer questions in PMs. I donate time answering questions for the benefit of all its members current and future. Whereas questions answered in private benefit only the person who asked them.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Multiple Banners in Footer

    Thanks kuroi for your response

    Also, I meant no offence. Sometimes PM's and messages go unanswered and I wanted to get this footer sorted out. Apologies if you feel upset.

    I will try your solution and let you know the results.

    Paul

  4. #4
    Join Date
    Jan 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Multiple Banners in Footer

    Hi kuroi

    Can you tell me where I can find GROUP_SET9 in the templates or direct me to a thread on how to add it.

    Many thanks

    Paul

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Multiple Banners in Footer

    A damned fine point. I have another cluster of three banners configured higher up the home page (even though only two are in use at the moment) and so must have run out of banners and created a new one. I suspect that I needed to do nothing more than clone the one of the banner entries already in the configuration table.

    Alternatively you could just move one of banners one, two or three to here instead.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Re: Multiple Banners in Footer

    I have been working at this and have a stupid question, how do I set up the group under layout settings and banner manager?
    Thanks!!

 

 

Similar Threads

  1. Please help, I need static sidebox/footer banners
    By DatinBridal in forum General Questions
    Replies: 9
    Last Post: 19 Oct 2007, 10:33 PM
  2. Multiple Static Banners in footer #2?
    By penielenterprises in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Oct 2007, 02:48 AM
  3. Banners in my footer....
    By g0d4lm1ty in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Apr 2007, 02:12 AM
  4. Placing banners below the footer?
    By mlm2005 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Jul 2006, 01:47 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