[Neos] Put Text node as direct child on page

Dmitri Pisarev dimaip at gmail.com
Tue Jan 27 08:57:42 CET 2015


No no, the Text node would work just as well, it's even better to do it
sometimes.
You need to do something like this in TS:
https://github.com/sfi-ru/Sfi.Widgets/blob/3378a6f25922da97f56eda3afb47ebf587ff3852/Resources/Private/TypoScript/Root.ts2
But your problem was I think with the lack of <neos:contentElement.wrap node
="{node}"> in template.
Anyways, doing it with ContentCollection is certainly not the best idea.

On Tue Jan 27 2015 at 10:40:04 AM Reinis Zumbergs <reinis.zumbergs at gmail.com>
wrote:

> I see - you added an in-line editable property of the Page node, instead
> of having additional Text childnode.  Quite clever :)
> For now I went with ContentCollection. I like that piece of editable text
> to be node because, I can add more properties to it in the inspector.
> But I will definitely have use for your approach somewhere else. Thanks
> for sharing!
>
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
>


More information about the Neos mailing list