osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

how to move banner from footer

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-12-2005, 11:47 AM
Member
 
Join Date: Feb 2005
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
joanstead
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,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-13-2005, 10:48 AM
Member
 
Join Date: Feb 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Impreza25r
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-13-2005, 12:24 PM
New Member
 
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
matty102
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-13-2005, 02:08 PM
Member
 
Join Date: Feb 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Impreza25r
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-15-2005, 12:50 PM
New Member
 
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
matty102
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 03-25-2005, 09:46 AM
Member
 
Join Date: Feb 2005
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
joanstead
Default

Did you ever get it to work for you?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 03-29-2005, 09:05 AM
New Member
 
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
matty102
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=
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 09:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax