Taurus
Joined: 08 Feb 2006 Posts: 7 Location: Germany
|
Posted: 12 Oct 2006 - 7:04 am Post subject:
if - else
Subject description: I need something to emulate an if-else-structure |
|
|
Hello,
I have 2 columns on my Website wich have different width.
Content-elements appear in both columns.
Since there are differned widths, I want to set the MaxWidth-property of the image-Objekt
My first try was:
| Line: |
Code: |
1 2 3 4 5
| |
tt_content.image.20.maxW = 150
tt_content.image.20.maxW.if.value = 2
tt_content.image.20.maxW.if.isGreaterThan.field = colPos
|
|
Show complete code
|
This works for content in column 3, but the standartwidth for the other columns (in my case only column 0) is obivously completly overwritten.
Is anybody out there, who knows a solution?
Thanks! _________________ TYPO3 3.8.1 |
|