Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner location


Guest

Recommended Posts

Hi all

 

Can anyone help me how to change banner location from footer to header

 

also please provide me documentation if it exists

 

thanks

Link to comment
Share on other sites

Open footer.php, cut the code:

 

<?php

echo tep_display_banner('dynamic', '468x50');

?>

and paste anywhere on header.php that you like.

 

 

Thank you.

That was easy.

~eDee

Ya, I'm a chick and I program! What of it?

Link to comment
Share on other sites

Open footer.php, cut the code:

 

<?php

echo tep_display_banner('dynamic', '468x50');

?>

and paste anywhere on header.php that you like.

 

 

Hi, I just tried that.

It does not work here.

The code above is strange.

 

I have banners working in the footer and this is the code:

 

<?php
if (!(getenv('HTTPS')=='on')){
//google banner ad
if ($banner = tep_banner_exists('dynamic', 'googlefoot')) {
?>
<?php echo tep_display_banner('static', $banner); ?>

 

But... code will not work if I place it in the header. :-(

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...