FN-GM Posted January 2, 2010 Posted January 2, 2010 (edited) Hi, We are running an edugeek joomla site version 1.0. The copyright in the footer of the site says: Copyright 2009 School Name It should have changed to 2010 automatically and it hasn't. The date on the Server and the Client is correct. Any ideas please? Thanks Edited January 2, 2010 by FN-GM
mrwITch Posted January 2, 2010 Posted January 2, 2010 (edited) Hi, We are running an edugeek joomla site version 1.0. The copyright in the footer of the site says: Copyright 2009 School Name It should have changed to 2010 automatically and it hasn't. The date on the Server and the Client is correct. Any ideas please? Thanks It's probably hard-coded in the php code (footer.inc ??) Sorry that probably should read footer.php (been playing around in Drupal recently) Check to ensure that your Template index.php doesn't set this value Then check ..../includes/footer.php which probably does set it Edited January 2, 2010 by mrwITch
Michael Posted January 2, 2010 Posted January 2, 2010 Yes that sounds about right. Search for footer files and you're sure to find your 2009.
kmount Posted January 2, 2010 Posted January 2, 2010 There is a footer module which looks at the date and automatically displays the current year as the latest but I've not used the edugeek version for a while. (Just downloaded it as 1.3.zip with a 1.2 folder inside) Otherwise a quick bit of sed can fix this for you.
Andrew_C Posted January 2, 2010 Posted January 2, 2010 I've just read on another forum of Y2010 issues elsewhere. EPOS terminals failing at midnight etc. No idea if this is your problem in this particular case, but could be.
Hightower Posted January 2, 2010 Posted January 2, 2010 Sounds to me like your date is hardcoded i.e. Copyright 2009 School Name Here Fine the 2009 in the footer and change it to: Copyright School Name This will then echo the year (according to your server) so it will change every year without having to think about it.
john Posted January 2, 2010 Posted January 2, 2010 I've just read on another forum of Y2010 issues elsewhere. EPOS terminals failing at midnight etc. No idea if this is your problem in this particular case, but could be. Microsofts online subscription systems seem to have this failing, my technet+ subscription online says it expires on the 01/01/1900 rather than 01/01/2011 it seems to have not been working that well!!! But I must admit a few things online glancing around the web seem to have suffered the 2010 bug (is this the new millennium bug)
powdarrmonkey Posted January 2, 2010 Posted January 2, 2010 If you still have material that hasn't been changed since it was published in 2009, your copyright line should be "Copyright 2009 - 2010".
Edu-IT Posted January 2, 2010 Posted January 2, 2010 EduGeek is in the same boat it seems anyhow That's hard coded I imagine. The vBulletin one has updated. In theory, does it matter? Is this text actually significant?
EduTech Posted January 2, 2010 Posted January 2, 2010 That's hard coded I imagine. The vBulletin one has updated. In theory, does it matter? Is this text actually significant? It is hard coded VB has updated but the VBSEO has not
Edu-IT Posted January 2, 2010 Posted January 2, 2010 It is hard coded VB has updated but the VBSEO has not I was talking about the one at the bottom of the very site. It may also be that vB have recently released a patch so that'll have latest copyright attached to it.
EduTech Posted January 2, 2010 Posted January 2, 2010 I was talking about the one at the bottom of the very site. It may also be that vB have recently released a patch so that'll have latest copyright attached to it. I know you was and your probably right fella! i am sure shaun will sort that at some point anyhow
FN-GM Posted January 3, 2010 Author Posted January 3, 2010 Like i said on the first post it should do it automatically...... Sounds to me like your date is hardcoded i.e. Copyright 2009 School Name Here Fine the 2009 in the footer and change it to: Copyright School Name This will then echo the year (according to your server) so it will change every year without having to think about it. It uses code similar to this. It is not hard coded in the PHP file there is a variable like this..... So just to some up the date is not hard coded
kmount Posted January 3, 2010 Posted January 3, 2010 Show us the code and echo it out yourself. I'll see if I have time this morning to set this up and try.
john Posted January 3, 2010 Posted January 3, 2010 Its hard encoded into the html not the PHP as you will see I tweaked it for one of my sites to, well, promote me Go into it as administrator Template Manager Select the template you are using Edit HTML Scroll down to the bottom you will find the code in that box at the bottom.
FN-GM Posted January 4, 2010 Author Posted January 4, 2010 The code is echo('Copyright ' . date("Y") . ' ' . $mosConfig_sitename . '.')
Hightower Posted January 4, 2010 Posted January 4, 2010 It probably won't make any difference but try replacing the code you have given with the code I gave you just to try. Also, silly question but is the date definately correct on your server (whichever hosts the site)?
FN-GM Posted January 4, 2010 Author Posted January 4, 2010 It probably won't make any difference but try replacing the code you have given with the code I gave you just to try. Also, silly question but is the date definately correct on your server (whichever hosts the site)? Yep i have checked
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now