Page 1 of 1

Question with Andreas08

Posted: Sat Dec 16, 2006 7:14 pm
by TKS
I've modified Andreas08 to my liking quite a bit at http://linux-blog.org

However, there is something that I haven't been able to do yet and I've looked quite a bit...I hope someone can help me find the right place to do this.

What I'd like to do is place a YEAR with the date on articles...mainly because I'm getting a whole bunch of comments from people googling in on 2 year old articles and they think that Feb 6 means February 6th of 2006...when in actuality it is 2005.

So, I've looked inside of entries.tpl for a way to change this but realize that it's a variable (if that is the correct word) that I'd need to alter...or at least I think it is.

Not sure if I'm in the right place or if I should be inside a diff. file. Can anyone direct me toward the solution?

Posted: Sat Dec 16, 2006 7:26 pm
by carl_galloway
open the lang files in your template folder and change

Code: Select all

@define('DATE_FORMAT_ENTRY_ANDREAS', '%b %e:');
to this

Code: Select all

@define('DATE_FORMAT_ENTRY_ANDREAS', '%b %e %Y:');
That should make your visitors happier :D

Posted: Sun Dec 17, 2006 12:45 am
by TKS
Thanks carl...

I'll write this down in my little notebook...maybe someday I'll be able to template :oops: