[Typo3] Last updated like on typo3.org

Peter Förger p.foerger at vke-design.de
Wed Jan 26 15:54:30 CET 2005


> Here is an alternative :
> 
> Add this in an 
> 
> +ext: last_uppdate extension and make an subpart.last_update<temp.lastUpdate
> in your +ext: main template.
> 
> config.locale_all = fr_FR
> temp.lastUpdate = CONTENT
> temp.lastUpdate {
> table = tt_content
> select {
> orderBy = tstamp DESC
> max = 1
> }
> renderObj = TEXT
> renderObj {
> field = tstamp
> strftime = %d/%m/%Y
> #strftime = %d %B %Y
> wrap = Dernière mise à jour&nbsp;&nbsp; |
> 
> }
> }

But what about content modified in other tables than tt_content?
A new record in tt_news for example won't get recognized.

/Peter



More information about the TYPO3-english mailing list