[TYPO3-mvc] Different Layouts in Fluid

Webmeck - TYPO3 typo3 at webmeck.de
Wed Jun 20 16:14:36 CEST 2012


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