Live Date broken in Chrome and Safari

Must have news portal Joomla template with huge amount of module positions, multi column layout and extended menu.
GK User
Mon Nov 16, 2009 10:17 pm
I came accross this nice looking template and I noticed that it is not working correctly in the Safari and Chrome browser. The Date and Time in the top right displays incorrect.

I found the solution though. It is an old script from early 2000's from

You fix it by opening, templates/gavick_news_portal/scripts/livedatescript.js located in your template's folder.

Look for:

var cdate=""+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn

change it to

var cdate="<normal><font color='000000' face='Arial'>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn

User avatar
Fresh Boarder

Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.