[TYPO3-english] FluidTemplate, backend layouts and maxImageWidth
Tobias Erlacher
reallyme at gmx.net
Sun Sep 9 11:44:03 CEST 2012
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 :(
>
More information about the TYPO3-english
mailing list