Date / Time - Problem mit Datum und Uhrzeit

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Hanswurst
Posts: 11
Joined: Mon 30. Jan 2006, 16:01

Date / Time - Problem mit Datum und Uhrzeit

Post by Hanswurst »

Hi,

i use {DATE_ARTICLE} and {TIME_ARTICLE} in my article summary template sample.tmpl. date and time are shown but the time is updated to the actual timer everytime i refresh the site. what am i doing wrong?

ich benutze {DATE_ARTICLE} and {TIME_ARTICLE} in meinem article summary template sample.tmpl. datum und uhrzeit werden angezeit allerdings ändert sich die zeitangabe bei jedem refresh der seite auf die aktuelle uhrzeit. was mach ich falsch?
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hello,

is there any visual content inside where this happens ?

Jürgen
Hanswurst
Posts: 11
Joined: Mon 30. Jan 2006, 16:01

Post by Hanswurst »

the sample.tmpl contains some tables.
the fields are located withing a table with images etc.
{DATE_ARTICLE} and {TIME_ARTICLE} are divided by |
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

what I meant:

Usally this happens when {Date....} is asked by template, but no article is inside the structure. By logic: Either creation date oder article update data is to be shown. Only if none of these informations are available the system jumps to the actual date und time, perhaps to prevent a warning.
Hanswurst
Posts: 11
Joined: Mon 30. Jan 2006, 16:01

Post by Hanswurst »

it makes no difference weather the {TIME_ARTICLE} is in the sample.tmpl or in the "schlagtext" itself. date and time always get updated :-/
Hanswurst
Posts: 11
Joined: Mon 30. Jan 2006, 16:01

Post by Hanswurst »

date and time are working correctly within the full article, but not in the 'schlagtext". but i also need the creation date and time of the article within the "schlagtext". any ideas?
Pappnase

Post by Pappnase »

Hanswurst wrote:date and time are working correctly within the full article, but not in the 'schlagtext". but i also need the creation date and time of the article within the "schlagtext". any ideas?
hallo hans

please stop the cross postings! 8)
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Hanswurst wrote:date and time are working correctly within the full article, but not in the 'schlagtext". but i also need the creation date and time of the article within the "schlagtext". any ideas?
You will probably have to do something like ssyfrig did with {PAGETITLE} & GT MOD here:
http://www.phpwcms.de/forum/viewtopic.php?p=58705#58705
Post Reply