[Neos] start node for content menu
Aske Ertmann
aske at moc.net
Mon Jan 27 20:38:36 CET 2014
Hey Dominic
I just had a quick look into the menu implementation and it looks like you should set the property "startingPoint" and not "node". It does use the node from the context, but that's not overwritable in TypoScript.
Have a look here https://git.typo3.org/Packages/TYPO3.Neos.git/blob/HEAD:/Classes/TYPO3/Neos/TypoScript/MenuImplementation.php#l129
/Aske
On Jan 15, 2014, at 2:13 PM, Dominic Garms <djgarms at gmail.com> wrote:
> Hello
>
> I would like to use a special menu and tried to simply extend the existing NodeType of menu with a startNode property:
>
>
> 'DMF.BasePackage:ProjectMenu':
> superTypes: ['TYPO3.Neos.NodeTypes:Menu']
> ui:
> label: 'Project menu'
> properties:
> 'startNode':
> type: reference
> ui:
> label: 'Starting node'
> inspector:
> group: 'options'
>
>
> prototype(DMF.BasePackage:ProjectMenu) < prototype(TYPO3.Neos.NodeTypes:Menu) {
> node = ${q(node).property('startNode') || q(node)}
> }
>
> But this approach is not working, does anyone see a mistake or is this not possible at the moment?
>
> Thanks,
>
> Dominic
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
More information about the Neos
mailing list