Webmastersite.net
Register Log In

javascriptheader template not found

Comments on javascriptheader template not found

hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Jun 17, 2009 - 11:37 PM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 18, 2009 - 9:35 PM:

Bug. Fixed in 5.0.53 Beta 1.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.