Page 1 of 1
Articel date
Posted: Fri 28. Apr 2006, 08:25
by Stim
Hi
There is problems with article date. Its work but if I change something in article later for example spelling or something, then article date change to day of todays date. I don’t wont that date changing every time I have to change something later. How to fix this problem?
I use in article something like this: Published: 2006-03-14
In article template I use {DATE:Y-m-d:SE}. Maybe I used wrong tag or something?
Posted: Fri 28. Apr 2006, 10:53
by rollofritz
Hi Stim
whats with
{DATE_ARTICLE}
Use: Distributes the construction date of the article
Notation: {DATE_ARTICLE}
Result: 2005/05/29
Remark: To display date in other languages you must edit: config/phpwcms/conf.template_default.inc.php
$template_default["date"]["language"]="EN";
look at this:
http://www.phpwcms-docu.de/article_tags.phtml
regards
rollofritz
Posted: Fri 28. Apr 2006, 11:03
by Stim
Thanks rollofritz!
Can 2005/05/29 be change to somthing like 2005-05-29?
Posted: Fri 28. Apr 2006, 11:19
by nekket
config/phpwcms/conf.template_default.inc.php
Search for:
Code: Select all
$template_default["date"]["article"] = "Y/m/d"; // (2003/12/25)
change the Y/m/d to Y-m-d
that's it!
Posted: Fri 28. Apr 2006, 17:38
by Stim
Thats was easy
Thanks gys for all your help!
Posted: Wed 3. May 2006, 04:29
by Stim
Hi
{DATE_ARTICLE} did not really work! I have Published: {DATE_ARTICLE}in template file for full article, but date still change every time I do something change after in article. What’s wrong?
Posted: Wed 3. May 2006, 05:44
by DeXXus
Stim wrote:What’s wrong?
The job of {DATE_ARTICLE} is to wait for each time an article is changed and then update that date. Similar to the -=Last Updated=-
It is NOT article creation date.
![Wink :wink:](./images/smilies/icon_wink.gif)
Posted: Thu 4. May 2006, 01:16
by Stim
Hi DeXXus!
What do you mean? Du you mean there are no solution for this stuff/problems?
I can see on the Pappnase site who use something like this: Article created: 2004/08/23, and Last Changes: 2006/05/01 on
http://www.phpwcms-docu.de/index.php?english_version
What happens Pappnase if you change something in article later? Do you get change in Article created: 2004/08/23? if you change something later in article?
Posted: Thu 4. May 2006, 08:27
by Pappnase
hello
that what i use is the wak_article_created tag!
![Smile :-)](./images/smilies/icon_smile.gif)
wich you will find in the hacks forum. it was made by kubens.
Posted: Wed 10. May 2006, 13:08
by Stim
Hi Pappnase
Do you know if it can be change exampel from 2004/08/23 to somthing like this 2004-08-23 instead ?
I have download that addon article created.zip from your site and its seems to be work nice. It was very nice and easy to understand and install.
Thanks again for your great site
![Laughing :lol:](./images/smilies/icon_lol.gif)
Posted: Wed 10. May 2006, 17:37
by Pappnase
hello
same as 3 posts before!
it takes teh settings from the template default file!
Posted: Sat 13. May 2006, 05:11
by Stim
Thanks Pappnase
Works nice now
![Laughing :lol:](./images/smilies/icon_lol.gif)