nickburrett Posted December 2, 2004 Share Posted December 2, 2004 how can i move the banner from the footer to define('TEXT_MAIN', 'Banner goes here'); in catalog/index.php Link to comment Share on other sites More sharing options...
Guest Posted December 2, 2004 Share Posted December 2, 2004 The banner code is in catalog/includes/footer.php. Grab that code, and put it where you want it. You'll most likely want it in the catalog/index.php, or in the catalog/includes/languages/english/index.php. Depends on how you want to work it. -jared Link to comment Share on other sites More sharing options...
nickburrett Posted December 2, 2004 Author Share Posted December 2, 2004 The banner code is in catalog/includes/footer.php. Grab that code, and put it where you want it. You'll most likely want it in the catalog/index.php, or in the catalog/includes/languages/english/index.php. Depends on how you want to work it. -jared <{POST_SNAPBACK}> i tried that, but i keep getting errors Link to comment Share on other sites More sharing options...
nickburrett Posted December 2, 2004 Author Share Posted December 2, 2004 where exactly should i put.... <?php if ($banner = tep_banner_exists('dynamic', 'banners')) { ?> Link to comment Share on other sites More sharing options...
Guest Posted December 2, 2004 Share Posted December 2, 2004 You're missing part of it. The whole section should be: <?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 } ?> One clue should be that in the line you posted, you only had a { with no corresponding } to close out the if statement. -jared Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.