Guest Posted April 10, 2007 Posted April 10, 2007 Hi all Can anyone help me how to change banner location from footer to header also please provide me documentation if it exists thanks
Guest Posted April 10, 2007 Posted April 10, 2007 :rolleyes: :( :unsure: :unsure: :blink: :blink: :'( :'(
justedee Posted April 10, 2007 Posted April 10, 2007 Hi all Can anyone help me how to change banner location from footer to header also please provide me documentation if it exists thanks Hi, I just asked the same question! Go here: http://www.oscommerce.com/forums/index.php?showtopic=258346 ~eDee Ya, I'm a chick and I program! What of it?
Guest Posted April 10, 2007 Posted April 10, 2007 PLease help us, please stand up, please stand up :D plz :D
zhexiang Posted April 10, 2007 Posted April 10, 2007 Open footer.php, cut the code: <?php echo tep_display_banner('dynamic', '468x50'); ?> and paste anywhere on header.php that you like.
justedee Posted April 10, 2007 Posted April 10, 2007 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?
roger001 Posted April 20, 2007 Posted April 20, 2007 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. :-(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.