[Neos] New ContentCollection not shown on existing pages

Tomiţă MILITARU militarutomita at gmail.com
Fri Jun 20 22:04:02 CEST 2014


You need to run for existing pages:
./flow node:autocreatechildnodes --node-type TYPO3.Neos.NodeTypes:Page


On Fri, Jun 20, 2014 at 9:32 PM, Maxi milian <info at maxguz.de> wrote:

> If I add to a template a new ContentCollection it is not shown on pages
> which are created before.
>
> Config without new ContentCollection:
> 'TYPO3.Neos.NodeTypes:Page':
>  childNodes:
>    'teaser':
>      type: 'TYPO3.Neos:ContentCollection'
>
> Add „subcontent" to NodeTypes.yaml as new ContentCollection:
> 'TYPO3.Neos.NodeTypes:Page':
>  childNodes:
>    'teaser':
>      type: 'TYPO3.Neos:ContentCollection'
>    'subcontent':
>      type: 'TYPO3.Neos:ContentCollection'
>
> Afterwards I updated "Root.ts2" and „HTML-Template".
>
> If I add a new page on the pagetree there are both ContentCollections
> „teaser" and „subcontent" available. But on existing pages there is just
> ContentCollection „teaser" available.
>
> Cache clearing  or removing whole temporary/ directory does not solve the
> problem:
> $ ./flow flow:cache:flush --force
> $ rm -rf Data/Temporary/*
>
> If I change the type of a existing page to 'shortcut' and afterwards to
> 'page' again both ContentCollections are available. But this couldn't be
> the right solution!?
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos




-- 
--
*Tomiţă MILITARU*
Web Developer
Tel. +40741064681


More information about the Neos mailing list