Hi, i am trying to implement a slider which can use every content element defined in neos. so i made some kind of typoscript like this:
prototype(Site:Carousel) < prototype(TYPO3.Neos:Content) {
templatePath = 'resource://…/TypoScriptObjects/Carousel.html’
carouselItems = TYPO3.TypoScript:Collection {
itemName = 'elements’
collection = ${q(node).children().children()}
itemRenderer = TYPO3.TypoScript:Template {
templatePath = 'resource://…/TypoScriptObjects/CarouselItem.html’
elements = ${elements}
}
}
}
In the CarouselItem Template i got a node element. How do i render them into content? Or can i wrap ContentCollection items?