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

Dmitry Dulepov typo3 at fm-world.ru
Tue Mar 7 18:46:05 CET 2006


stem wrote:
> 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.

Using "split"/"if" combination?

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)

More information about the TYPO3-english mailing list