Forums / Setup & design / How to show current site last update and current site section ?
H-Works Agency
Monday 18 April 2005 10:54:05 am
Hi all
How to show current site last update in a template and current site section ?
Something like : Updated the 06-09-05And section is "news section"
Thanx all
EZP is Great
Ćukasz Serwatka
Tuesday 19 April 2005 2:41:18 am
Ad. 1You can use
{$node.object.modified|l10n(datetime)}
Ad. 2 You can fetch section name for current node. Use $node.object.section_id as param for section_idhttp://ez.no/ez_publish/documentation/reference/data_fetching/section/object
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Tuesday 19 April 2005 9:35:50 am
This code is returning current node modified date not the global site one.
The question i need to answer is : "When the last time the content has been modified ?"