DoctorMason Posted June 13, 2005 Posted June 13, 2005 http://kcpa-tv.com/catalog/images/banners/paypal.gif I have tried for 2 days to get this into the /includes/footer.php and can't get it to work. At the bottom of my pages is the word "test", proving SOMETHING can be added there. Why can't the above image show up? Thanks, DM Doctor Mason, World's #1 "Temporary Webmaster"
Edze Posted June 13, 2005 Posted June 13, 2005 http://kcpa-tv.com/catalog/images/banners/paypal.gif I have tried for 2 days to get this into the /includes/footer.php and can't get it to work. At the bottom of my pages is the word "test", proving SOMETHING can be added there. Why can't the above image show up? Thanks, DM <{POST_SNAPBACK}> Hi, Have a look at this file: /catalog/includes/languages/english.php Look for the line, almost at the bottom of the file: define('FOOTER_TEXT_BODY', It is here where I suppose you will find the word "test" . In this define you can place your own footer text. Kind regards, Edze
Edze Posted June 13, 2005 Posted June 13, 2005 http://kcpa-tv.com/catalog/images/banners/paypal.gif I have tried for 2 days to get this into the /includes/footer.php and can't get it to work. At the bottom of my pages is the word "test", proving SOMETHING can be added there. Why can't the above image show up? Thanks, DM <{POST_SNAPBACK}> Hi, For the banner you should go to Admin - Tools - Banners and introduce your image there. Regards, Edze
DoctorMason Posted June 13, 2005 Author Posted June 13, 2005 Hi, Have a look at this file: /catalog/includes/languages/english.php Look for the line, almost at the bottom of the file: define('FOOTER_TEXT_BODY', It is here where I suppose you will find the word "test" . In this define you can place your own footer text. Kind regards, Edze <{POST_SNAPBACK}> No, that didn't do it either. Placed the code at the bottom after the final ?> and nothing happened. Then placed the code next to copyright and still no progress. Doctor Mason, World's #1 "Temporary Webmaster"
Jud Posted June 14, 2005 Posted June 14, 2005 Just add this code to the footer : define('FOOTER_TEXT_BODY',' <img src="http://kcpa-tv.com/catalog/images/banners/paypal.gif" />'); Just put that code somewhere between the <? and ?> and you should be good to go. Jud
Wendy James Posted June 14, 2005 Posted June 14, 2005 Here is a copy of the oscommerce untouched footer with the added image right below the copyright <?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 (c) 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 /* The following copyright announcement can only be appropriately modified or removed if the layout of the site theme has been modified to distinguish itself from the default osCommerce-copyrighted theme. For more information please read the following Frequently Asked Questions entry on the osCommerce support site: http://www.oscommerce.com/community.php/faq,26/q,50 Please leave this comment intact together with the following copyright announcement. */ echo FOOTER_TEXT_BODY ?> <p><img name="PayPal" src="http://kcpa-tv.com/catalog/images/banners/paypal.gif"alt="PayPal"></p></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></td> </tr> </table> <?php } ?> Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
DoctorMason Posted June 14, 2005 Author Posted June 14, 2005 Here is a copy of the oscommerce untouched footer with the added image right below the copyright <{POST_SNAPBACK}> Wendy James you have made my day! My diary has a list of "to-do's" and you have helped me draw a line through one more chore, how can I ever thank you? I read your blog about the heat and your upcoming airconditioner bill. I can't pay it for you but can give a link to your site on our "supporters" page if you like. We all thank you for your continued support, your many helpful posts, and your taking the time to even look at our coding problems. DKM Doctor Mason, World's #1 "Temporary Webmaster"
Wendy James Posted June 14, 2005 Posted June 14, 2005 DKM I am glad I could help. That is why I come here. Appreciate your offer but that is not something I could/would ask for you to do. I help if I can for the sake of helping. =) Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.