[TYPO3] [Typo3] what is the condition to see if there is content in a column?
Søren Vedel
sv at workhouse.com.br
Tue Jan 31 21:39:10 CET 2006
Hi Tyler,
With a few modifications it works. When you have content in the 'right'
column you get the 'smaller' div in the 'normal' column and vice versa.
temp.myNormalContent = COA
temp.myNormalContent {
10 = COA
10 {
if.isTrue.numRows < styles.content.getRight
10 < styles.content.get
10.wrap = <div class="smaller"> | </div>
}
20 = COA
20 {
if.isFalse.numRows < styles.content.getRight
10 < styles.content.get
10.wrap = <div class="bigger"> | </div>
}
}
You might have to play around with it, but it actually changes the div
styles.
Best wishes
Søren Vedel
More information about the TYPO3-english
mailing list