[TYPO3-english] Default size of rendered images depending on right column

Hannes typo3 at sinus-medien.de
Wed Mar 7 16:11:31 CET 2012


Hi,

with the following code you can set the default render-size for each content-column.

tt_content.image.20.maxW.cObject = CASE
tt_content.image.20.maxW.cObject {
key.field = colPos
    0 = TEXT
    0.value = 500
    1 = TEXT
    1.value = 340
    2 = TEXT
    2.value = 250
    3 = TEXT
    3.value = 220
}

I am looking for a solution to set this size in two cases
- one with right column content
- and another one if there is no right column content 

The condition is: "if.isFalse.numRows < styles.content.getRight" 
but how could i bring them together ... ?

thanks,
~hannes


More information about the TYPO3-english mailing list