[TYPO3-mvc] Different Layouts in Fluid

Webmeck - TYPO3 typo3 at webmeck.de
Thu Jun 21 12:46:13 CEST 2012


Very cool,

thanks all, this is what I searched and it works fine.

Best Regards
Frederik

On 21.06.2012 12:40, Bastian Waidelich wrote:
> Claus Due wrote:
>
>> I forgot the link, but there is a detailed explanation in a
>> wiki somewhere - possibly FLOW3 related.
>
> Did you mean this one: 
> http://forge.typo3.org/projects/typo3v4-mvc/wiki/FAQ#Can-ViewHelpers-be-nested 
> ?
>
>> General tip though: if your conditions require this type of very 
>> complex nesting you are
>> probably much better off performance- and logic-wise assigning the 
>> variable elsewhere  [...]
>
> +1
>
> As you already use a variable called "homepage" you could instead pass 
> a variable "layout". In a little example project I set a variable 
> depending on the backend layout used see [1].
>
> Best
>
>
> [1] 
> https://github.com/bwaidelich/Extensions.my_website_com/blob/master/Configuration/TypoScript/page.setup.ts#L25
>
>




More information about the TYPO3-project-typo3v4mvc mailing list