fbrace Posted January 1, 2009 Share Posted January 1, 2009 How do I change the copyright date on the footer to include the dates my shop has been active, from "2007--2009", not just the "current year"??? Frederick C Brace,III PA-C www.21st-tees.com (osc) www.tanda-designs.com (osc) Link to comment Share on other sites More sharing options...
germ Posted January 1, 2009 Share Posted January 1, 2009 Must be your template. "Standard" osC code just shows the current year. This code in /catalog/includes/languages/[iNSERT YOUR LANGUAGE HERE].php define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>'); Coupled with this code in /catalog/includes/footer.php <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
fbrace Posted January 1, 2009 Author Share Posted January 1, 2009 Must be your template. "Standard" osC code just shows the current year. This code in /catalog/includes/languages/[iNSERT YOUR LANGUAGE HERE].php define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>'); Thanks for the reply, Jim. I replaced the includes/language.english.php as follows: define('FOOTER_TEXT_BODY', 'Copyright © 2007--; ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>'); Coupled with this code in /catalog/includes/footer.php This allows the Copyright @ 2007--"new year updated automatically by system". Frederick C Brace,III PA-C www.21st-tees.com (osc) www.tanda-designs.com (osc) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.