[TYPO3-mvc] Different Layouts in Fluid

Stephen Bungert stephenbungert at yahoo.de
Wed Jun 20 16:49:34 CEST 2012


You just do that in TS by changing the template paths, I don't think you can 
do this in fluid.

"Webmeck - TYPO3" <typo3 at webmeck.de> schrieb im Newsbeitrag 
news:mailman.871.1340201890.658.typo3-project-typo3v4mvc at lists.typo3.org...
> Hallo everybody,
>
> how can I use different Layouts on different pages?
>
> I tried:
> <f:if condition="{homepage}">
>     <f:then>
>         <f:layout name="homepageLayout" />
>     </f:then>
>     <f:else>
>         <f:layout name="defaultLayout" />
>     </f:else>
> </f:if>
>
> and the inline variant.
>
>
> And I got:
>
>
>  Oops, an error occurred!
>
> Duplicate variable declarations!
>
> Best regards
> Frederik 




More information about the TYPO3-project-typo3v4mvc mailing list