[TYPO3-english] TS: Reading date of last changed content element

Sebastian Gebhard s.gebhard at markenmotiv.de
Wed Mar 4 13:18:18 CET 2009


Tomas Mrozek schrieb:
> Is the "recursive" an undocumented property?
> 
> Tomas Mrozek
No, you're right. recursive does not exist.

This also works (without recursive):

lib.lastchange = COA_INT
lib.lastchange.5 = CONTENT
lib.lastchange.5{
   table = tt_content
   select{
     orderBy = tstamp DESC
     max = 1
     # Your root page
     pidInList = 1
   }
   stdWrap.override{
     data = register:SYS_LASTCHANGED
     strftime = %d.%m.%Y
     wrap = aktualisiert am: |
   }
}

But to be honest I do not understand why exactly this works, because to 
me this snippet looks like only taking content element records from pid 
1, but in fact it takes them from all pages.


More information about the TYPO3-english mailing list