Tapio Markula kirjoitti: > 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.
got at least working with this TS ACTIFSUB.linkWrap=<span style="display:none;">|</span> ACTIFSUB.after.cObject=COA ACTIFSUB.after.cObject { 10=TEXT 10 { if.isTrue.field=subtitle dataWrap=<h3>{field:subtitle}|</h3> } 20=TEXT 20 { if.isFalse.field=subtitle dataWrap=<h3>{$text.Header_taso2main}|</h3> } } _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english