Created
April 15, 2014 07:12
-
-
Save nezaniel/10709466 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
prototype(CORE4.EventBase:EventList) > | |
prototype(CORE4.EventBase:EventList) < prototype(TYPO3.Neos:Content) { | |
templatePath = 'resource://CORE4.EventBase/Private/Templates/NodeTypes/EventList.html' | |
startNode = ${q(node).property('restrictToDocument') ? q(documentNode) : q(site)} | |
events = ${this.startNode.find('[instanceof CORE4.EventBase:Event]').future().orderEventsByDate('asc')} | |
hasEvents = ${this.events.count() > 0} | |
} | |
prototype(CORE4.EventBase:UpcomingEvent) > | |
prototype(CORE4.EventBase:UpcomingEvent) < prototype(TYPO3.Neos:Content) { | |
templatePath = 'resource://CORE4.EventBase/Private/Templates/NodeTypes/UpcomingEvent.html' | |
startNode = ${q(node).property('restrictToDocument') ? q(documentNode) : q(site)} | |
events = ${this.startNode.find('[instanceof CORE4.EventBase:Event]').future().orderEventsByDate('asc')} | |
hasEvents = ${this.events.count() > 0} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment