[TYPO3-mvc] Different Layouts in Fluid

Webmeck - TYPO3 typo3 at webmeck.de
Wed Jun 20 16:57:40 CEST 2012


Therefore the layout-viewhelper is useless?

Thanks

On 20.06.2012 16:49, Stephen Bungert wrote:
> 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
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc




More information about the TYPO3-project-typo3v4mvc mailing list