Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Move banners to header from footer


BuddahBoy

Recommended Posts

Posted

Greetz - in the includes/header.php file I've coded out the right side images for cart, my account and checkout - would like to relocate the banners to that spot but can't seem to get the code put in correctly - can I get some help with that?

 

Also, do the banners rotate if you leave multiple banners in the same group activiated?

 

TIA for all the great assistance and guidance.

Posted
Been experimenting but can't get this figgured out - anybody? 

 

thanks

 

Take the following out of the footer

<?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 put it in the header where you want it.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

Thanks yet again Wendy - indeed I wasn't copying the code correctly - not all that versed in php but with the awesome help here I can get solutions thanks to the time you guys take - appreciate it.

 

All the best

Ron

Posted

No problem. :) It just takes time and editing a bit to get the hang of it. Still tons I can't do. Glad that got it working for you.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Archived

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

×
×
  • Create New...