[Neos] using layout file for sharing template over multiple page types
Dominic Garms
djgarms at gmail.com
Sun Jan 12 20:19:53 CET 2014
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
More information about the Neos
mailing list