Webmastersite.net
Register Log In

javascriptheader template not found

Title javascriptheader template not found
Message Text I've started adding the code below to my javascriptheader template so that the copyright line at the bottom of the page will automatically update. Once I add the code to the file though, I can no longer edit it from within the "manage templates" section of the admin panel. I get the following - Error: The file ../templates/wsn/javascriptheader.tpl does not exist.
function copyright() {
 today=new Date();
 y0=today.getFullYear();
 document.write(' ' + '© { LANG_COPYRIGHT_START_DATE }' + y0 + ' { LANG_COPYRIGHT_NAME }');
}
Is there something wrong with the code causing this error and I've just been lucky enough that it's worked?
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership hai
Views 181 views. Averaging 0 views per day.
Similar Topics
Submission Date Jun 17, 2009 - 9:37 PM