[Typo3] different Wrap if column is empty or not

Bachmann, Peter peter.bachmann at cad.ch
Fri Aug 19 12:42:57 CEST 2005


I would like to check if the column "Right" is empty and if so use another
wrap to call another CSS ID.

 

My code which does not do any wrapping at all but I get the correct content;

 

marks.INHALT = COA

  marks.INHALT {

  10 < styles.content.get

  outerWrap.cObject = COA

  outerWrap.cObject {

  10 = TEXT 

  10.value = <div id="normal"> | </div> 

  10.if.isTrue.numRows < styles.content.getRight

  20 = TEXT 

  20.value = <div id="wide"> | </div> 

  20.if.isFalse.numRows < styles.content.getRight

 }

}

 

What is wrong with this?

 

 

Peter Bachmann




More information about the TYPO3-english mailing list