Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you change the year in the footer?


sumdexusa

Recommended Posts

Hello All,

 

The copyright year in the footer of my site still says 2008. How do I change this? I've searched and searched but haven't found out how to do this. The farthest I got is looking in the English.php file in my includes/languages folder. At the bottom it says:

 

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . '

 

But where do I specify that 2008 is not the current year? Any help would be appreciated. Thank you!

Link to comment
Share on other sites

Hello All,

 

The copyright year in the footer of my site still says 2008. How do I change this? I've searched and searched but haven't found out how to do this. The farthest I got is looking in the English.php file in my includes/languages folder. At the bottom it says:

 

 

 

But where do I specify that 2008 is not the current year? Any help would be appreciated. Thank you!

Look in /catalog/includes/footer.php

 

See if 2008 is in there.

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

Thank you for the assistance. Unfortunately, I couldn't find it in footer.php. Here is what I have in the footer.php file:

 

<?php

/*

$Id: footer.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

// START STS 4.5

if ($sts->display_template_output) {

// Get content here, in case column_right is not called.

if (!isset($sts->template['content'])) $sts->restart_capture ('content');

} else {

//END STS

 

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

}

// START STS 4.1

}

// END STS 4.1

?>

 

Anywhere else I should check?

Link to comment
Share on other sites

Looks like you have STS installed.

 

That means you should be looking in another file.

 

I just don't have a clue what the "other file" would be...

:'(

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

If this "2008" is part of someone else's (osC, STS author) copyright, leave it alone. You have no legal right to go changing someone else's copyright date -- that could land you in hot water. If it's your copyright statement, you are free to change it to a later year provided that you released changed content in that year. Otherwise, if nothing has changed since 2008, you must leave the copyright date as 2008. It marks the last year of release, and starts the clock counting down on the copyright's expiration.

Link to comment
Share on other sites

Good point, Mr. Phil. But yes, the copyright is our company's copyright and there are changes in content on a daily basis.

 

Now that I have confirmed we are indeed using some kind of STS file, what files should I start with to start looking in? Since this our home page, would the index file give me a clue? Or perhaps the footer or the includes/language/english.php file? Any ideas would be appreciated. Thank you!

Link to comment
Share on other sites

F.Y.I.

 

Posts concerning STS usually receive little support or attention if not posted in the STS Support thread ( <= it's a link, click it)

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

  • 5 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...