Marathon Computers Posted December 6, 2004 Posted December 6, 2004 Hello, i need help on editing the footer, and the text on the main page, i have created my own text but it doesnt show.
Iggy Posted December 6, 2004 Posted December 6, 2004 Hello, i need help on editing the footer, and the text on the main page, i have created my own text but it doesnt show. <{POST_SNAPBACK}> Have you taken a look at the Knowledge Base? There's a wealth of solid info in there. http://www.oscommerce.info/ Iggy Everything's funny but nothing's a joke...
Marathon Computers Posted December 6, 2004 Author Posted December 6, 2004 yes i have but this is what my code is for the footer.. <?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 ?> </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 } ?> Please HELP me
♥Vger Posted December 6, 2004 Posted December 6, 2004 The place to put the text is in includes/languages/english.php Scroll down to the bottom of the page and you'll find it. Don't use the osCommerce File Manager, download the file, edit it in a plain text editor (NotePad not WordPad) and then upload again. Keep a backup copy of the original file. Vger
[email protected] Posted February 10, 2005 Posted February 10, 2005 Hello, i need help on editing the footer, and the text on the main page, i have created my own text but it doesnt show. <{POST_SNAPBACK}> If you are running osCMAX (like my osCMAXv1.7), you may need to comment out the appropriate code in one of the /templates subdirectories. I was using the Fallback template in BTS, so after wasting time editing footer.php in the /include directory, I finally edited /templates/fallback/main_page.tpl.php file with successful results. <td align="right" class="footer"> <?php //echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> PAB
Recommended Posts
Archived
This topic is now archived and is closed to further replies.