Question with Andreas08

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Question with Andreas08

Post 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?
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

Thanks carl...

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