Forums / Setup & design / How to show current site last update and current site section ?

How to show current site last update and current site section ?

Author Message

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-05
And section is "news section"

Thanx all

EZP is Great

Ɓukasz Serwatka

Tuesday 19 April 2005 2:41:18 am

Ad. 1
You 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_id
http://ez.no/ez_publish/documentation/reference/data_fetching/section/object

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

H-Works Agency

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 ?"

EZP is Great