[TYPO3-english] FluidTemplate, backend layouts and maxImageWidth

Sergey Alexandrov serg at alexandrov.us
Sun Sep 9 17:17:56 CEST 2012


Tobias,

Seems like this works for me:

key.data=levelfield:-1,backend_layout_next_level,slide
key.override.data=page:backend_layout

As I expected, I missed something simple here :)

Thank you,
Sergey

On 9/9/2012 5:44 AM, Tobias Erlacher wrote:
> Hello,
>
> Try something like this:
> key.data = levelfield:-1, backend_layout_next_level, slide
> key.override.field = backend_layout
>
> Tobias Erlacher
>
> Am 09.09.2012, 02:49 Uhr, schrieb Sergey Alexandrov <serg at alexandrov.us>:
>
>> Viktor,
>>
>> Thank you very much for the directions! But this code wouldn't work 
>> because backend_layout and backend_layout_next_level are "properties" 
>> of a PAGE, not a CONTENT element.
>> I've (almost) made it work this with this code (6 is one of the 
>> backend_layout uid):
>>
>>     tt_content.image.20{
>>     maxW>
>>     maxW.cObject=CASE
>>     maxW.cObject{
>>     key.data=page:backend_layout
>>     key.insertData=1
>>
>>     default=TEXT
>>     default.value=900
>>
>>     6=CASE
>>     6{
>>     key.field=colPos
>>     0=TEXT
>>     0.value=630
>>     2=TEXT
>>     2.value=220
>>     }
>>     }
>>
>> Now the question is how to get "backend_layout_next_level slide" 
>> works if no backend_layout defined for a page.
>> Have tried to use hundreds of different combinations but nothing 
>> works :(
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list