Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default How can I activate other banner ad slots besides the default?

    Hi....

    I've noticed that there are multiple banner ad slots in the code for the cart, for instance on tpl_footer.php, there's:

    <!--bof-banner #5 display -->

    .......

    <!--eof-banner #5 display -->

    How do I set position beyond the sidebox, wide, and all defaults?

    Also, I noticed that when I activate the wide banner slot, it appears at the bottom-most part of the page, while the banner #5 display is under the 'your IP address is...' text. Further, I see NO code for a banner to be displayed at the very bottom. Was this positioned at the absolute bottom of the page via CSS, instead of being 'last' in the HTML code? Is that bottom wide banner the same as 'banner #5'?

    Where can I find a listing of all available ad slots?

    I checked the tutorials for this, and couldn't find much about this part, specifically.

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

    Default Re: How can I activate other banner ad slots besides the default?

    The Footer Position 3 should be the very bottom of the page ... did you try using that one?

    A search in the Tools ... Developers Tool Kit ... in the bottom input box on:
    SHOW_BANNERS_GROUP_SET6

    select Catalog ... click Search ...

    should show where that code is located ...
    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
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: How can I activate other banner ad slots besides the default?

    Thanks Ajeh!

    Reading your message, I realized that there MUST be a place to set the banners to ON in the config. (I must've missed that..err)

    So, I looked, and found it in about 3 seconds.

    I suppose the easiest way to find where each ad slot appears would be to create an ad for each one, and just see where it ends up on the page.

    But, to find where the code is that activates each (maybe to move it to a new spot?) the search you suggested would be necessary.

    So, I'm guessing that to create NEW ad slots, a new set of code must be placed SOMEwhere on the page where it'll display, and a new definition for SHOW_BANNERS_GROUP_SET12, for example, must be added to the config menu, and as a database entry also??

    Thanks again....!

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

    Default Re: How can I activate other banner ad slots besides the default?

    You can find the references to the existing spots with:
    SHOW_BANNERS_GROUP_SET

    then you can clone the code to a new value and set the new value, such as:
    SHOW_BANNERS_GROUP_SET12

    into the configuration table, like the other settings, or you could make a define setting for it ... but adding to the configuration table would be easier for changes and such ...
    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. v151 Banner Manager - I can't activate/deactivate banners
    By Capfka in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Dec 2014, 10:42 PM
  2. v151 Is there any other banner manager plugin, besides zx-slideshow?
    By fanisme in forum General Questions
    Replies: 13
    Last Post: 7 May 2013, 10:40 PM
  3. v151 How to remove the default banner?
    By michion89 in forum General Questions
    Replies: 1
    Last Post: 5 Feb 2013, 07:02 AM
  4. Replies: 6
    Last Post: 16 Jul 2009, 08:55 PM
  5. How to change the title bars color from the default green to other colors?
    By yvonne8 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Jun 2008, 06: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