Share » Forums » Developer » Printing the modified and published...

Printing the modified and published dates ini a article list ..

Printing the modified and published dates ini a article list ..

Friday 02 May 2003 3:33:28 pm - 1 reply

Author Message

Bård Farstad

Friday 09 May 2003 12:29:50 am

To get the modification and publishing time from an object in a list you can do something like this ( in e.g line_class_xx.tpl ).

Published at:
{$node.object.published|l10n(datetime)}
Last modified:
{$node.object.modified|l10n(datetime)}

If you just want the date you can do:
{$node.object.published|l10n(date)}

--bård

Documentation: http://ez.no/doc

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu