Created
September 27, 2015 15:52
-
-
Save radmiraal/d990322960e4816522d1 to your computer and use it in GitHub Desktop.
A collection node type for Neos. This allows for creating a content node type that acts like a container for other elements without extra wrapping elements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'My.Vendor:Section': | |
superTypes: | |
'TYPO3.Neos:Content': TRUE | |
'TYPO3.Neos:ContentCollection': TRUE | |
ui: | |
label: 'Section' | |
inlineEditable: TRUE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{namespace ts=TYPO3\TypoScript\ViewHelpers} | |
<section{attributes -> f:format.raw()}> | |
<ts:render path="content" /> | |
</section> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype(My.Vendor:Section) < prototype(TYPO3.Neos:ContentCollection) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment