Mike_07 Posted May 8, 2007 Share Posted May 8, 2007 Hai Everyone, I have already put an logo in mine header, but i want to put someother logo under the footerbar. In which lines of the footer.php do i configure this?? anyone has done this before? This is mine footer.php <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] 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> </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 } ?> thanks mike Link to comment Share on other sites More sharing options...
Mike_07 Posted May 9, 2007 Author Share Posted May 9, 2007 hai Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText">my logo</td> </tr> </table> Link to comment Share on other sites More sharing options...
Mike_07 Posted May 9, 2007 Author Share Posted May 9, 2007 Hai, This is mine footer.php, were can i put it according to you? <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 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> </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 } ?> Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 Like my example under the FOOTER_TEXT_BODY table... Link to comment Share on other sites More sharing options...
Mike_07 Posted May 9, 2007 Author Share Posted May 9, 2007 Hi, it doenst work, no logo appears, and i have uploaded it to images directory. I have put this code as you said: <td align="center" class="smallText">my logo</td> under: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> So it look likes this: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText">my logo</td> I have noticed that this sentence doenst stand in your footer.php: <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> Maybe that differs us from each other??? Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 I just posted a snippet (not the complete file), of course you have to change my logo to an html image tag relevant to the image you want to display there... Link to comment Share on other sites More sharing options...
Mike_07 Posted May 9, 2007 Author Share Posted May 9, 2007 Haia html image tag? Ohh... i made it my logo.gif This is correct right, or do i use another code? Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 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> </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> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . 'logo.gif'); ?></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 } ?> Link to comment Share on other sites More sharing options...
Mike_07 Posted May 9, 2007 Author Share Posted May 9, 2007 Lovely, this work correct!!! Now if i want to put more pictures i repeat the code? Thankyou Oschellas Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 Thats right. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.