[TYPO3-english] TS: Reading date of last changed content element
pierrick
pierrick at megami.fr
Wed Mar 4 12:54:00 CET 2009
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
-----Message d'origine-----
De : typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] De la part de Sebastian
Gebhard
Envoye : mercredi 4 mars 2009 12:32
A : typo3-english at lists.netfielders.de
Objet : Re: [TYPO3-english] TS: Reading date of last changed content element
Tomas Mrozek schrieb:
> What about this one?
>
> lib.lastchange = COA_INT
> lib.lastchange.5 = CONTENT
> lib.lastchange.5 {
> table = tt_content
> select {
> orderBy = tstamp DESC
> max = 1
> }
> renderObj = TEXT
> renderObj {
> field = tstamp
> strftime = %d.%m.%Y
> wrap = aktualisiert am: |
> }
> }
>
> Tomas Mrozek
It has exactly the same output like my snippets. That's really weird.
I looked into the DB once again and there is a entry in tt_content with
timestamp 1236157407 what means Wednesday, March 4th 2009, 9:03:27 (GMT).
But the Website says: "Aktualisiert am: 26.02.2009" (02/26/2009 in
American format)
The entry is not deleted or hidden and is regurlarly displayed on.
Now I edited an CE which is on the Home page (the snippet is also only
used on the home page), now the date is displayed right.
Is this a bug?
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list