Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34
  1. #11
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Banners only on main page

    Thanks, and sorry for the delay in replying. Is there another file that would contain the SHOW_BANNERS_GROUP_SET2 info? Because the tpl_main_page.php page skips from SET1 to SET 3...

    The actual code around the banner is this:

    <div id="headerpic">
    <div id="bannerTwo" class="banners"><img src="images/04.jpg" alt="04" title=" 04 " width="960" height="274" /></div>

    And the banner is definitely showing up on all pages, so the code HAS to be somewhere. It's not on the tpl_main_page.php page from either the template_default common folder or the template folder I am using.

    Sorry for the lack of knowledge, it's very frustrating to look for code that isn't there...

    Thanks again,

    Doug

    Quote Originally Posted by Ajeh View Post
    Do not change the code from 1 to 2 ...

    Find the original code that uses:
    SHOW_BANNERS_GROUP_SET2

    and add your change to that so you are altering the Header Position 2 banner code and not the Header Position 1 banner code ...

  2. #12
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,711
    Plugin Contributions
    6

    Default Re: Banners only on main page

    Go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
    SHOW_BANNERS_GROUP_SET2

    and select Catalog ... and click Search ...

    What files come up with that reference?
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #13
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Banners only on main page

    Wow, I get:

    Error: No matching Configuration Keys were found ... SHOW_BANNERS_GROUP_SET2

    Again, the code says "bannerTwo"....

    I will try to find the banner instrcutions I got from the template, I have files between my office and my home...

    Doug

    Quote Originally Posted by Ajeh View Post
    Go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
    SHOW_BANNERS_GROUP_SET2

    and select Catalog ... and click Search ...

    What files come up with that reference?

  4. #14
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,711
    Plugin Contributions
    6

    Default Re: Banners only on main page

    Are you saying when you search with the bottom input box for:
    SHOW_BANNERS_GROUP_SET2

    and select the Catalog that you do not see anything like:
    /includes/templates/template_default/common/tpl_header.php

    Line #71 : <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>

    Line #81 : if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {

    Line #90 : <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #15
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Banners only on main page

    Quote Originally Posted by Ajeh View Post
    Are you saying when you search with the bottom input box for:
    SHOW_BANNERS_GROUP_SET2

    and select the Catalog that you do not see anything like:
    Wow, sorry, I hadn't selected to search "All Files - Catalog", I'd left that blank.

    I got two hits for tpl_header.php, not for tpl_main.php.

    /templates/premium2a/common/tpl_header.php

    /templates/template_default/common/tpl_header.php

    Which file should I make the changes in? As always, thanks a bunch.

    Doug

  6. #16
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Banners only on main page

    I GOT IT!!!!!!!!

    It was the tpl_header.php file! Thank you soooooooooo much!

    Doug

  7. #17
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,711
    Plugin Contributions
    6

    Default Re: Banners only on main page

    You are most welcome ... thanks for the update that you have this working and for posting where the solution to this problem was ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  8. #18
    Join Date
    Aug 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: Banners only on main page

    Hi.
    Succeeded to make Banner three / Banner ads only in main page but I have a size problem with the width.
    The banner is not looking good in 800px or 1200px.
    Therfore I would like to make it repeated on the x but could not find where to add the repeat command.

  9. #19
    Join Date
    Dec 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Banners only on main page

    Yeah ... Got it change to display on only main page.
    Thanks Ajeh.

  10. #20
    Join Date
    Aug 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: Banners only on main page

    What about my question ? Banner width...

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Banners and Main Page
    By KSource in forum Basic Configuration
    Replies: 2
    Last Post: 26 Mar 2009, 06:20 PM
  2. Multiple Banners on Main page
    By skylab001 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Aug 2008, 06:32 AM
  3. Banners in index main page
    By derer in forum Basic Configuration
    Replies: 5
    Last Post: 15 Nov 2007, 01:09 AM
  4. Showing banners not on the main page?
    By JakubM in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 Feb 2007, 08:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •