Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 7 of 7

Thread: how to move banner from footer

  1. #1
    joanstead
    Guest


    Default how to move banner from footer

    Can someone explain how to make the banner with banner manager to show up in a left or right column vs. the bottom footer of the page?

    Thanks!

    JoAn,

  2. #2
    Impreza25r
    Guest


    Default RE: how to move banner from footer

    JoAn,
    open you main_page.tpl.php file located in the templates directory find this code
    <?php echo tep_display_banner('static', $banner); ?>
    and simply move it to where you would like it to display on the page.

  3. #3
    matty102
    Guest


    Default RE: how to move banner from footer

    I am also trying to move banners to the right / left column's. I have tried the above but still cant get it working.
    Is it possible to explain exactly where and in which file I would move the above line of code to get it working?
    Many Thanks

  4. #4
    Impreza25r
    Guest


    Default RE: how to move banner from footer

    all you should have to do is move the above posted code to where you want the banner to display. If you are using template osc it is located on line 107 of main_page.tpl.php and im not 100% possitive as I don't use this template to test, but you should move it just beneath line 43 <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> place it under this code. this should display the banners in the left column. keep in mind you will have to play around with the sizing of the banners to get them to fit correctly.

  5. #5
    matty102
    Guest


    Default

    Hi,

    Thanks very much for taking the time to reply.

    I am using AAbox template. I have tried what you said and in different places in in the code and it does now seem to be attempting to put in a banner but I getting an error.

    I have attached a screen shot which hopefully helps.

    The error is: TEP ERROR! (tep_display_banner(static, ) -> Banner with ID '' not found, or status inactive

    The banner is active and set to 468x50 in admin.

  6. #6
    joanstead
    Guest


    Default

    Did you ever get it to work for you?

  7. #7
    matty102
    Guest


    Default

    I did it slightly differently in the end but it all works fine now. See here...

    http://oscdox.com/index.php?name=PNp...amp;highlight=

Similar Threads

  1. Footer box displays in Firefox, but no footer box in IE.
    By cawheelz in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 06-16-2005, 07:28 PM
  2. Banner on top of footer image?
    By Lobotaman in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-05-2005, 01:43 PM
  3. how to move index.php
    By rnomis in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 02-21-2004, 05:19 PM
  4. Unsecure Connection / error in footer., error in footer (<
    By the_error_king in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 12-24-2003, 06:15 AM
  5. How Do I Move Delete and Move Boxes Around?
    By OyedeleG in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 03-18-2003, 01:37 AM

Bookmarks

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
  •