[TYPO3-english] If with else in TS config

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Wed Jan 21 15:18:52 CET 2009


Tapio Markula schrieb:
> Hi
> 
> I tried
> 
> 
> ACTIFSUB.allWrap.dataWrap.if.isTrue.Field=subtitle
> ACTIFSUB.allWrap.dataWrap=<h3>{field:subtitle}|</h3>
> ACTIFSUB.allWrap.dataWrap.if.isFalse.field=subtitle
> ACTIFSUB.allWrap.dataWrap=<h3>{$text.Header_taso2main}|</h3>
> 
> To get conditional dataWrap, where normally used subtitle but if that is 
> empty, default value from a contant, but I did either subtitle or the 
> default value but didn't get desired if - else structure.

You could try to use override.

enjoy
Mattes


More information about the TYPO3-english mailing list