Guest Posted January 17, 2003 Share Posted January 17, 2003 Hi. I am wondering if there is any contribution to these features. The search box in the column will search the product description without going to advanced search. Also, I want to put banners in the header just like teh footer. I tried copy and paste the script in footer file, but no good. Please help. Thank you Quote Link to comment Share on other sites More sharing options...
Guest Posted January 18, 2003 Share Posted January 18, 2003 There is a contribution that does the description search. Can't help with the banner thing. Quote Link to comment Share on other sites More sharing options...
Ajeh Posted January 18, 2003 Share Posted January 18, 2003 The code for the banner is located presently in /includes/footer.php <?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 } ?> The IF statement has the Banner Group named in it for the display in the tep_display_banner function. Just changing the Banner Group name will let you use different groups, or using the same group all the banners will come from the same place for the header and foot. The banner code above creates its own table so you should be able to add it to the header.php file easily enough. By inserting that into a new row in the header. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.