[Neos] Rendering a meta-navigation

Klaus Herberth klaus at herberth.eu
Thu May 7 14:26:21 CEST 2015


Hi guys,

I try to create a meta navigation like described in [1], but I struggle
with 'nameOfNode'. How can I change the node name of a page?

Maybe this manual is also outdated (see [2]), because if I take the
cryptic node name (e.g. node-554b49a25f14d) from the db, everything
works fine
but I think that is no practical solution.

<code>
metaMenu = Menu {
   entryLevel = 2
   maximumLevels = 1
   # works:
   startingPoint = ${q(site).children('node-554b49a25f14d').get(0)}
   # does not work:
   # startingPoint = ${q(site).children('metamenu').get(0)}
}
</code>

Page was created with title 'metamenu'.
Neos should be the latest version, but I can't find any version
information...

Thanks for your help.

Regards,
Klaus


[1]
http://docs.typo3.org/neos/TYPO3NeosDocumentation/IntegratorsCookbook/RenderingMetaNavigation.html
[2]
https://git.typo3.org/Packages/TYPO3.TYPO3CR.git/commit/027dd692c802a2e5db68960b321080ad4956e459



More information about the Neos mailing list