Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » TypoScript » Templates
Post new topic   Reply to topic Page 1 of 1 [1 Post] if - else
Author Message
Taurus



Joined: 08 Feb 2006
Posts: 7
Location: Germany

PostPosted: 12 Oct 2006 - 7:04 am    Post subject:  if - else
Subject description: I need something to emulate an if-else-structure
Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Home » TypoScript » Templates
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum