[TYPO3-english] If with else in TS config

Tapio Markula tapio.markula at xetpoint.fi
Wed Jan 21 15:30:33 CET 2009


Mathias Schreiber [wmdb >] kirjoitti:
> 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.
could you give an example of syntax - I don't find 'override' in TS Ref


More information about the TYPO3-english mailing list