[TYPO3] if... else in typo script? - don't mean standard conditions

Peter Klein peter at umloud.dk
Tue Mar 7 19:52:14 CET 2006


Hi Steffen. It's not possible using "wrap" as it has no stdWrap properties. 
You can however use one of the other wrap types that has stdWrap support, 
such as "innerWrap" & "outerWrap".


NO.stdWrap.outerWrap.if {
etc..

--
Peter Klein / Umloud Untd.

"stem" <stema at web.de> wrote in message 
news:mailman.1.1141750017.22875.typo3-english at lists.netfielders.de...
> hi,
>
> is there a way to realize if-else conditions in TS.
> i would like to wrap a menu item depending on its title.
>
> it's something like this:
>
> NO.wrap = <div class="style">|</div>
> NO.wrap.if {
>         value = test, test2
>         isInList.field = title
>         }
> .... -> now i would like to have an else to specify the wrap, if the title 
> is not test or test2.
>
> is something like this possible? that would be great.
>
> Thanks a lot!
> steffen 





More information about the TYPO3-english mailing list