Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner's Position?


wise_kathy

Recommended Posts

Posted
Hi,

In the admin panel, there is a banner manager option. I have uploaded another banner , but the banner showed up at the bottom of the page.

I was wondering how can i make the banner to show up in any place i would it to be?

For example liek this site:

http://shops.oscommerce.com/directory/goto,25203

 

Any help is appreciated.

 

Have a good day.

 

Rachal

 

Original OSCommerce is designed to include the banner at the bottom of each page (in the footer) ... if you dont want it placed in there open the file footer.php (located at /includes/footer.php )

Find this code at the bottom of the file:

 

<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php
 }
?>

 

and either remove it completely or just comment it out...

 

Then to display the banners in your left or right columns, you can use one of the addons in the contribution section - Just one of the ones I found there

Posted

read this. Its all about how to add banners to your website with the banner manager

 

Banner Manager

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...