Results 1 to 5 of 5

How do I set banner action?

This is a discussion on How do I set banner action? within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I've been going in loops with this... The banners are not showing up in my site. It seems the function ...

      
  1. #1
    New Member
    Join Date
    Sep 2004
    Posts
    26
    Rep Power
    0


    Default How do I set banner action?

    I've been going in loops with this... The banners are not showing up in my site. It seems the function in banner.php check if the action is "dynamic". How do I set this action value, or is it automatically set when I upload banners through banner manager? If yes, what could be the reason my banners aren't showing up?

    TIA

  2. #2
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    includes/footer.php
    Just below the copyright there is:
    Code:
    <?php
      if ($banner = tep_banner_exists('dynamic', '468x50')) {
    ?>
    and then
    Code:
    <?php echo tep_display_banner('static', $banner); ?>
    Check to see if these are in place.
    HTH
    Neil
    www.12website.com

    "You can have everything in life that you want if you will just help enough other people get what they want."
    Zig Ziglar

  3. #3
    New Member
    Join Date
    Sep 2004
    Posts
    26
    Rep Power
    0


    Default

    Hi

    Those lines are intact. I did a view source on my site, but can't see any references to banners in the html page.

    I also inserted an
    echo "hello";
    just before the code where it checks if the dynamic banner exists, just to check if it would show up, but it didn't. Any ideas most welcome....

    Thanx!

  4. #4
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    There was something in another post.
    When "Search Engine Safe" urls are turned ON in admin/configuration, that caused the page NOT load completely.
    Have a look there.
    HTH
    Neil
    www.12website.com

    "You can have everything in life that you want if you will just help enough other people get what they want."
    Zig Ziglar

  5. #5
    New Member
    Join Date
    Sep 2004
    Posts
    26
    Rep Power
    0


    Default got it going!

    Thanx for url-safe setting idea, that didn't work out unfortunately. However I did get a fix out of another similar post in this forum...

    Once you upload banners, make sure the banner group is set to 468x50 in admin for each of your banners. I had created a new group called test, and all of mine had group set to test. I changed the banner group to 468x50 and they all show up fine!

    Hope this helps other newbs like me

Similar Threads

  1. banner problem
    By moreduff in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 08-17-2007, 04:19 PM
  2. Want to add a New Banner in my header...
    By rolotech in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-02-2006, 05:20 AM
  3. banner
    By jschafer52 in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 06-03-2006, 12:12 PM
  4. Banner Problem? Or is it me?
    By ltldoc in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 03-19-2006, 01:03 PM
  5. rotating banner
    By joanstead in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 03-12-2005, 06:27 AM

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
  •