Created
September 24, 2014 08:42
-
-
Save radmiraal/191273ae0ba71878bf57 to your computer and use it in GitHub Desktop.
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 neos=TYPO3\Neos\ViewHelpers} | |
{namespace ts=TYPO3\TypoScript\ViewHelpers} | |
<div{attributes -> f:format.raw()}> | |
{neos:contentElement.editable(property:'title', tag: 'h1')} | |
<ts:render path="content" /> | |
</div> |
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(TYPO3.Neos:PrimaryContent).FoobarBookingEvent { | |
condition = ${q(node).is('[instanceof Foobar.Booking:EventTemplate]')} | |
type = 'Foobar.Booking:EventTemplate' | |
@position = 'start' | |
} | |
prototype(Foobar.Booking:EventTemplate) < prototype(TYPO3.TypoScript:Template) { | |
templatePath = 'resource://Foobar.Booking/Private/Templates/DocumentTypes/Event.html' | |
node = ${documentNode} | |
title = ${q(node).property('title')} | |
content = TYPO3.Neos:ContentCollection { | |
nodePath = 'main' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment