[TYPO3-english] Case for content types
Tapio Markula
tapio.markula at xetpoint.fi
Tue Oct 21 21:31:22 CEST 2008
Ernesto Baschny [cron IT] kirjoitti:
> Tapio Markula wrote: on 10.10.2008 08:22:
>> StephenBungert kirjoitti:
>>> Do you want to do something to all content elements of type IMAGE in a
>>> particular column?
>> yes - I would like to set for every column these values differently
>>
>> maxW = {$styles.content.imgtext.maxW}
>> maxWInText = {$styles.content.imgtext.maxWInText}
>
>
> You don't need any special "renderer" to do this. css_styled_content's
> (and also content (default)'s) IMAGE rendering allows to fiddle with the
> maxW and maxWInText through REGISTERs. So in your TypoScript:
>
> temp.Content = styles.content.get
> temp.ContentRight = COA
> temp.ContentRight {
> 10 = LOAD_REGISTER
> 10.maxImageWidth = 200
> 10.maxImageWidthInText = 200
>
> 20 < styles.content.getRight
>
> 30 = RESTORE_REGISTER
> }
>
> The registers, if set, will have priority over the TypoScript settings,
> thus you acchieve the desired effect without having the close the
> tt_content rendering.
apparently needs this too?
styles.content.getRight < temp.ContentRight
I can't use by now because I have used content slide with this way
temp.borderSlide < plugin.tx_kbcontslide_pi1
temp.borderSlide.content.select.where = colPos=3
I wondered why
styles.content.getHeader.slide=-1
didn't work
More information about the TYPO3-english
mailing list