-
-
Save anonymous/c5f33c7923faae26aa1a to your computer and use it in GitHub Desktop.
Neos: Multi Column Content Element (functional with 1 column)
This file contains 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
'Daniel.MultiColumn:TwoCol': | |
superTypes: | |
- 'TYPO3.Neos:Content' | |
ui: | |
label: 'Two-Column (50/50)' | |
group: structure | |
icon: 'icon-edit' | |
inlineEditable: TRUE | |
childNodes: | |
content: | |
type: 'TYPO3.Neos:ContentCollection' |
This file contains 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(Daniel.MultiColumn:TwoCol) < prototype(TYPO3.Neos:Content) | |
prototype(Daniel.MultiColumn:TwoCol) { | |
templatePath = 'resource://Daniel.MultiColumn/Private/Templates/TypoScriptObjects/twocol.html' | |
contentContainerLeft = TYPO3.Neos:ContentCollection | |
contentContainerLeft { | |
nodePath = 'content' | |
} | |
} |
This file contains 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} | |
{namespace neos=TYPO3\Neos\ViewHelpers} | |
<div class="col1"><ts:render path="contentContainerLeft" /></div> | |
<div class="col2">Lorem ipsum</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment