[TYPO3-dev] Introduction package - imagewidths

Thomas Kieslich thomas.kieslich at gmail.com
Wed Feb 9 09:35:24 CET 2011


Hi ben, no Problem
#12889

Thomas

Am 09.02.2011 08:57, schrieb ben van 't ende:
> Hey Thomas,
>
> We will definitely want that in. Please report it as an issue here:
> http://forge.typo3.org/projects/show/extension-introduction, so we will remember
> it ;-)
>
> tHNx
>
> ben
>
>
> On 07/02/11 20:25, Thomas Kieslich wrote:
>> Hi
>> I want to use the Introduction package for the doc screenshots of tkcropthumbs.
>> I see the four column Layouts but max.imagewidth is set for 3 columns Layout. I
>> wrote a new template to respect the imagewidths in all 4 Templates.
>>
>> new: page_blocks_configuration>  lib.imagewidth
>>
>> Content:
>> ## width of content
>> lib.user_content_width = CASE
>> lib.user_content_width{
>>    key.data = levelfield:-1,layout
>>    default = TEXT
>>    default.value = 417
>>
>>    0<  default
>>
>>    1 = TEXT
>>    1.value = 650
>>
>>    2 = TEXT
>>    2.value = 650
>>
>>    3 = TEXT
>>    3.value = 840
>> }
>>
>> tt_content {
>>    # Define max image width for each content column separately
>>    image.20.maxW.cObject = CASE
>>    image.20.maxW.cObject {
>>      key.field = colPos
>>
>>      default = TEXT
>>      default.value = 417
>>      # normal
>>
>>      0<  lib.user_content_width
>>
>>      # left
>>      1 = TEXT
>>      1.value = 155
>>
>>      # right
>>      2 = TEXT
>>      2.value = 155
>>    }
>>
>>    image.20.maxWInText.cObject = CASE
>>    image.20.maxWInText.cObject {
>>      key.field = colPos
>>
>>      default = TEXT
>>      default.value = 417
>>
>>      # normal
>>      0<  lib.user_content_width
>>
>>      # left
>>      1 = TEXT
>>      1.value = 155
>>
>>      # right
>>      2 = TEXT
>>      2.value = 155
>>    }
>>
>> Works great, perhaps you like to integrate in an future Version of Introduction
>> Package.
>>
>> kind regards, thomas
>
>




More information about the TYPO3-dev mailing list