[TYPO3] if colpos = 3

Bas van der Togt b.vandertogt at profinit.com
Wed May 16 20:47:48 CEST 2007


Thanks for your answer Joey!
This is not where i'm looking for.
I want to activate this TS for the whole left column.
Pictures are added from the backend, and not trough TS.
Hopefully you've got an other solution.

kind regards,
Bas

JoH asenau schreef:
>> I found the following TS and changed it to my own.
>> Now i want to activate this script only in the left column.
>> Can somebody help me?
>>
>> TS:
>> tt_content.image.20.1.file >
>> tt_content.image.20.1.file {
>>    import.current = 1
>>    #cropt and resized the picture
>>    width = 190c
>>    height = 80c
> [snip]
>> }
> 
> Seems to be a job for CASE.
> 
> temp.imagesetup < tt_content.image
> tt_content.image >
> tt_content.image = CASE
> tt_content.image {
>     key.field = colPos
>     default < temp.imagesetup
>     3 < temp.imagesetup
>     3.1.file >
>     3.1.file {
>         blah
>     }
> }
> 
> something like this should do ...
> 
> Joey
> 


More information about the TYPO3-english mailing list