Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner insert in left column


Guest

Recommended Posts

Posted

Hi

 

probably a really quick one for you guys. I am really new to the whole thing though.

 

I have built a flash banner with banner snack and uploaded the code to my banner manager in admin.

 

That all seems fine but I now need to put the banner in my left column.

 

1, what is the code to do this?

 

2, which file does it need to be done in? I thought it would be catalog/includes/column_left.php.

 

Any help would be much appreciated. I would prefer to do it without an add-on if possible as every time i try a new add on i seem to mess the whole site up, so as you can guess I've given up on that. :lol:

 

Many thanks

Cath

Posted

Hi Catherine,

 

Putting a flash banner into the left column requires multiple steps. Perhaps using the information.php file as an example of the boxes would be the best way. Doing it this way, just so you know would enable the banner on almost all pages depending on if you use the require or the include statement in your column_left.php file.

 

 

 

Chris

Posted

Hi

The code you need to move is located in your footer.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
 }
?>

 

 

Move it to your colum_left.php

 

the 468x50 will require changing prior to using

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

  • 3 weeks later...
Posted

Is it possible to have banners at the bottom and on the left column. If so, how would that be done. I would like to put banners right up underneath the information box and at the bottom if possible.

Archived

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

×
×
  • Create New...