[TYPO3-english] TS: Reading date of last changed content element
Sebastian Gebhard
s.gebhard at markenmotiv.de
Wed Mar 4 13:10:34 CET 2009
pierrick schrieb:
> Hello,
>
> As you specify neither "pidInList" nor "uidInList", the records are listed
> only from the same page (pidInList.data = tsfe:id)
> I think you may add the property "recursive" to the "select" and sets it to
> something like 10 to get records from all pages.
>
> Pierrick
>
Yes! Thanks a lot.
In case somebody else needs this:
lib.lastchange = COA_INT
lib.lastchange.5 = CONTENT
lib.lastchange.5{
table = tt_content
select{
orderBy = tstamp DESC
max = 1
recursive = 10
# Rootpage of your Website
pidInList = 1
}
stdWrap.override{
data = register:SYS_LASTCHANGED
strftime = %d.%m.%Y
wrap = This website was updated: |
}
}
More information about the TYPO3-english
mailing list