[Neos] using layout file for sharing template over multiple page types
Christopher Hlubek
hlubek at networkteam.com
Mon Jan 13 09:14:42 CET 2014
Hi Dominic,
the Template TypoScript object has a "layoutRootPath" property that should work as expected.
Greetings,
Christopher
Am 12.01.2014 um 20:19 schrieb Dominic Garms <djgarms at gmail.com>:
> Hello,
>
> In TYPO3 CMS I always used layouts for multiple page types through the "layoutRootPath".
>
> ### Main.html page file
> Resource/Private/Page/Main.html:
> <f:layout name="Default"/>
> <f:section name="Main">
> (...)
> </f:section>
>
> ### Project.html page file
> Resource/Private/Page/Project.html:
> <f:layout name="Default"/>
> <f:section name="Main">
> (...)
> </f:section>
>
> ### Default.html layout file
> Resource/Private/Layouts/Default.html:
> (...)
> <f:render section="Main"/>
> (...)
>
> Is this possible in Neos? I could not find an example, the chapter inside of the demo package copies the template sections into both files.
>
> Regards,
> Dominic
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
More information about the Neos
mailing list