[Neos] Render Subpage Content

Dmitri Pisarev dimaip at gmail.com
Wed Apr 8 23:57:48 CEST 2015


Hey Florian!
You don't add TypoScript code to Fluid template files, but store it in
separate ts2 files.
You can read more about it here:
http://docs.typo3.org/neos/TYPO3NeosDocumentation/IntegratorGuide/InsideTypoScript.html
If it doesn't solve your problem, come back here and we'll try to dig
further :)

Regards,
Dmitri

On Tue, 7 Apr 2015 at 22:30 Florian Biermaier <f.biermaier at flitze-pfoten.de>
wrote:

> Hello all,
> i curently work on a OnePage Neos Site and have the Problem to render the
> Subpage conent. I already found the TS2 code from Christian Müller and it
> looks as it does exactly that what i need. But how must i add this in my
> flow template?
>
> TS2 Code:
> SubContent = TYPO3.TypoScript:Collection {
>                                                 collection =
> ${q(node).children('[instanceof TYPO3.Neos:Document]')}
>                                                 itemRenderer =
> TYPO3.Neos:ContentCollection {
>                                         nodePath = 'main'
>                                         }
>
>                                                 itemName = 'node'
>
>                         }
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos


More information about the Neos mailing list