[TYPO3-english] show the latest date

bernd wilke t3ng at bernd-wilke.net
Thu Sep 27 14:59:49 CEST 2012


Am 27.09.2012 10:24, schrieb Katja Lampela:
> hi,
>
> I have this db table (tx_klfilms_tuki) and there is the date field (tukihak_paatospvm) that I want to show with ts.
>
> I only want to show the latest date and only once.
>
> Here is my ts:
>
> temp.pvm {
>    10 = CONTENT
>    10 {
>       table = tx_klfilms_tuki
>       select {
>          pidInList = 226
>          orderBy = tukihak_paatospvm DESC
>          selectFields = tukihak_paatospvm
>          max = 1
>          #renderObj = TEXT   (doesn't change if I show/don't show this and following)
>          #renderObj.field = tukihak_paatospvm
>       }
>    }
> }
>
>
> This doesn't give any result.

should not be renderObj at the same level than select instead of being 
inside of select?

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list