Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to place html banner to the left


abengio21

Recommended Posts

Posted

I am not 100% sure what you mean, but if you want to add a banner in the left column then add this to includes/column_left.php

 

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

 

 

Change the 468x50 to the dimensions of your banner.

 

This is to use the standard oscommerce banner system, so you will have to remove the banner from the bottom or it will be mis-sized. You can the uploadc a banner for the left column using the administration banner manager tool.

 

There are contributions available to have banners in the left column and the footer, but these will need installing.

 

Of course, if you do not want to use the banner manager, you can just upload an image to your images directory and past a link in includes/column_left.php.

Posted

I am not 100% sure what you mean, but if you want to add a banner in the left column then add this to includes/column_left.php

 

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

 

 

Change the 468x50 to the dimensions of your banner.

 

This is to use the standard oscommerce banner system, so you will have to remove the banner from the bottom or it will be mis-sized. You can the uploadc a banner for the left column using the administration banner manager tool.

 

There are contributions available to have banners in the left column and the footer, but these will need installing.

 

Of course, if you do not want to use the banner manager, you can just upload an image to your images directory and past a link in includes/column_left.php.

 

 

THANK YOU VERY MUCH

 

WHERE IS INCLUDES/COLUMN_LEFT.PHP???

Posted

THANK YOU VERY MUCH

 

WHERE IS INCLUDES/COLUMN_LEFT.PHP???

Is that a rhetorical question?

Posted

Is that a rhetorical question?

For some reson I don't think so.

 

@abengio21 Try looking in your catalog/includes directory for column_left.php.

 

You may want to look at some of the links below. They can help you out.

Archived

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

×
×
  • Create New...