Skip to content

Instantly share code, notes, and snippets.

@sorenmalling
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save sorenmalling/9835563 to your computer and use it in GitHub Desktop.

Select an option

Save sorenmalling/9835563 to your computer and use it in GitHub Desktop.
prototype(Epic.Site:ListNodes) < prototype(TYPO3.Neos:Content) {
lookingIn = ${q(node).property('lookingIn')}
lookingFor = ${q(node).property('lookingFor')}
beginLooking = ${q(node).property('beginLooking')}
stopLooking = ${q(node).property('stopLooking')}
itemsArray = TYPO3.TypoScript:Collection {
collection = ${q(site).children(this.lookingIn).children().filter(this.lookingFor).slice(this.beginLooking,this.stopLooking).get()}
itemName = 'node'
itemRenderer = TYPO3.TypoScript:Case {
default {}
news {
condition = ${element.if('[instanceof Goos.Events:Event'])}
type = 'Goos.Events:Event'
prototype(Goos.Events:Event).templatePath = 'resource://...'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment