Skip to content

Instantly share code, notes, and snippets.

@daKmoR
Last active December 22, 2015 17:39
Show Gist options
  • Save daKmoR/6507867 to your computer and use it in GitHub Desktop.
Save daKmoR/6507867 to your computer and use it in GitHub Desktop.
{namespace neos=TYPO3\Neos\ViewHelpers}
{namespace ts=TYPO3\TypoScript\ViewHelpers}
<neos:contentElement node="{node}">
<div class="box">
<ts:render path="columnContent" />
</div>
</neos:contentElement>
'Moo:Box':
superTypes: ['TYPO3.Neos:Content']
ui:
group: 'Structure'
label: 'Box'
icon: 'icon-columns'
inlineEditable: TRUE
childNodes:
column0:
type: 'TYPO3.Neos:ContentCollection'
prototype(Moo:Box) < prototype(TYPO3.Neos:Template)
prototype(Moo:Box) {
templatePath = 'resource://Moodley.WawaschinekAt/Private/Templates/TypoScriptObjects/Box.html'
columnContent = TYPO3.Neos:ContentCollection
columnContent {
nodePath = 'column0'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment