Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner location


Guest

Recommended Posts

Posted

Hi all

 

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

 

also please provide me documentation if it exists

 

thanks

Posted

:rolleyes: :( :unsure: :unsure: :blink: :blink: :'( :'(

Posted

PLease help us, please stand up, please stand up :D

 

 

plz :D

Posted

Open footer.php, cut the code:

 

<?php

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

?>

 

 

and paste anywhere on header.php that you like.

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

Posted
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. :-(

Archived

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

×
×
  • Create New...