[TYPO3] [Typo3] what is the condition to see if there is content in a column?
Tyler Kraft
headhunterxiii at yahoo.ca
Tue Jan 31 21:46:18 CET 2006
hi thanks for this. I got it working doing it slightly different than
yours, but along similar principals.
I was really just asking out of interest/curiosity ;-)
Søren Vedel wrote:
> 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