[TYPO3] condition TypoScript

Peter Klein peter at umloud.dk
Tue Jan 31 13:41:37 CET 2006


Hi Miguel, if you just want to change the text on the label, depending on 
the language selected, then there's a much easier way to do it, which 
doesn't involve conditions..
Like this:

lib.prod=TEXT
lib.prod.value = New
lib.prod.lang.es = Novedad

See TSRef/StdWrap for more info..
http://typo3.org/documentation/document-library/doc_core_tsref/stdWrap/

-- 
Peter Klein/Umloud Untd

"Miguel Angel Calleja Lázaro" <mangelcl at yahoo.es> skrev i en meddelelse 
news:mailman.10396.1138703368.6406.typo3-english at lists.netfielders.de...
> How can I do in TypoScript this condition?
>
> If value of the field "tx_menu_novedad" in table pages=0 with pid of page 
> in which I am then
>                lib.prod=TEXT
>                lib.prod.value=Novedad
> else
>               lib.prod=TEXT
>               lib.prod.value=New
>
>
> It is possible since TS to know the value of a field of table pages of a 
> pid? Thanks, perhaps I am asking something absurd that it not can.... 





More information about the TYPO3-english mailing list