[Neos] Typo3 Neos Carousel issue .
Siva
sivaprasad at pitsolutions.com
Thu Feb 5 13:59:49 CET 2015
It was my good fortune !! Thanks for the help :)
Best regards,
Sivaprasad S
On Thursday, February 5, 2015 5:56 PM, Garvit Khatri <garvitdelhi at gmail.com> wrote:
Actually, I also forgot to add that few days back so I know that problem.
On Thu, Feb 5, 2015 at 5:45 PM, Siva <sivaprasad at pitsolutions.com> wrote:
Hai Gravit,
>
>You are awesome !! Thanks for the help.
>
>
>
>On Thursday, February 5, 2015 5:39 PM, Garvit Khatri <garvitdelhi at gmail.com> wrote:
>
>Hey Siva,
>
>Have you tried, including the Carousel.ts2 to Root.ts2 using
>
>include: NodeTypes/Carousel.ts2
>
>
>On Thu, Feb 5, 2015 at 5:18 PM, Siva <sivaprasad at pitsolutions.com> wrote:
>
>Hello everyone ,
>>
>>I am trying to create a new website with Typo3 Neos. What I have tried is , I have created a new site package and I have created a carousel .
>>
>>
>>Note Type
>>
>>##
>># A "Carousel" content element that renders "Image" child nodes into a JavaScript based slideshow
>>#
>>'PITS.NeosSite:Carousel':
>> superTypes: ['TYPO3.Neos:Content']
>> childNodes:
>> carouselItems:
>> type: 'TYPO3.Neos:ContentCollection'
>> ui:
>> label: 'Carousel'
>> group: 'plugins'
>> icon: 'icon-picture'
>> inlineEditable: TRUE
>>
>>My Ts2 configuration
>>
>>
>>prototype(PITS.NeosSite:Carousel) {
>> carouselItems = ContentCollection {
>> nodePath = 'carouselItems'
>> iterationName = 'carouselItemsIteration'
>> attributes.class = 'carousel-inner'
>> }
>> carouselItemArray = ${q(node).children('carouselItems').children('[instanceof TYPO3.Neos.NodeTypes:Image]')}
>> // Enhance image prototype for the carousel
>> prototype(TYPO3.Neos.NodeTypes:Image) {
>> // Render images in the carousel with a special template.
>> templatePath = 'resource://PITS.NeosSite/Private/Templates/TypoScriptObjects/CarouselItem.html'
>> attributes.class = ${'item' + (carouselItemsIteration.isFirst ? ' active' : '')}
>> // We want to use the item iterator in the template so we have to store it in ts.
>> iteration = ${carouselItemsIteration}
>> }
>>}
>>
>>When add my Typoscript 2 configuration in Root.ts2 file everything works fine . But when I moved my carousel typoscript code to a new ts2 file its not working any more . Can anyone please tell me what I am missing here ??
>>Note: Created a new folder in Private/NodeTypes/Carousel.ts2
>>_______________________________________________
>>Neos mailing list
>>Neos at lists.typo3.org
>>http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
>>
>
>
>--
>
>Regards,
>Garvit Khatri
>
--
Regards,
Garvit Khatri
More information about the Neos
mailing list