Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner insert in left column


Guest

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...