This is a discussion on how to move banner from footer within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Can someone explain how to make the banner with banner manager to show up in a left or right column ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| Did you ever get it to work for you? |
|
#7
| |||
| |||
| 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= |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Footer box displays in Firefox, but no footer box in IE. | cawheelz | osCMax v1.7 Discussion | 0 | 06-16-2005 07:28 PM |
| Banner on top of footer image? | Lobotaman | osCMax v1.7 Discussion | 1 | 02-05-2005 01:43 PM |
| how to move index.php | rnomis | osCMax v1.7 Discussion | 5 | 02-21-2004 05:19 PM |
| Unsecure Connection / error in footer., error in footer (< | the_error_king | osCommerce 2.2 Installation Help | 3 | 12-24-2003 06:15 AM |
| How Do I Move Delete and Move Boxes Around? | OyedeleG | osCommerce 2.2 Modification Help | 2 | 03-18-2003 01:37 AM |