rodcar Posted July 5, 2008 Posted July 5, 2008 Hi Can someone help me with changing my footer header? This is the footer and I have saved my image in the image folder that I would like to replace it with, I have named it store logo. What do I need to change here. Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?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 } ?> </div> Is there anything else I have to do to change it
fdcusa Posted July 5, 2008 Posted July 5, 2008 This part of the code: <?php echo tep_display_banner('static', $banner); ?> indicates it is a configurable entry. If I recall correctly, you do this through the Administration Tool >> Tools >> Banner Manager. Add your custom banner Click "new banner" button With the custom banner entry highlighted, under "Status" column, click the GREEN button (Default is on I think) Inactive the osCommerce banner With the osCommerce banner entry highlighted, under "Status" column, click the RED button
rodcar Posted July 5, 2008 Author Posted July 5, 2008 This part of the code: <?php echo tep_display_banner('static', $banner); ?>indicates it is a configurable entry. If I recall correctly, you do this through the Administration Tool >> Tools >> Banner Manager. Add your custom banner Click "new banner" button With the custom banner entry highlighted, under "Status" column, click the GREEN button (Default is on I think) Inactive the osCommerce banner With the osCommerce banner entry highlighted, under "Status" column, click the RED button Hi, thank you worked, Is it the same for the top header.
fdcusa Posted July 5, 2008 Posted July 5, 2008 I've modified my header quite a bit, so don't recall completely how the original was, but it didn't use the $banner functionality. I moved that code from the footer to the header, which for my purposes made more sense.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.