Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footer Banner Addition


tropiland

Recommended Posts

Hello to all,

How does one go about adding a banner to their footer? I've been copying and pasting HTML from other osCommerece footers but I get error messages in my code. Does anyone here know the code for inserting a banner into the footer.php file?

Link to comment
Share on other sites

the code below already included in the default oscommerce installation

 

 

<?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
 }
?>

Link to comment
Share on other sites

the code below already included in the default oscommerce installation

 

 

<?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
 }
?>

 

Thank you for your input...but I am still at a loss! I have a banner image named ppp_footer_banner.gif that I have saved under my catalog/images folder. How can I display it in the code you have provided?

Link to comment
Share on other sites

you need to configure banners in the admin -> tools -> banners section

it is banner manager not banner section. Then you make a banner group for the one specified in the footer. I BELIEVE that will make the banner appear there.

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...