In TYPO3 CMS you could build a menu with defined pages very easy. How does this work in Neos and Typoscript2?
Typoscript1 Code was:
Menu1 = HMENU
Menu1 {
special = directory
special.value = 1,6,7
wrap = <div class="somemenu">|</div>
}
For example i have this page structure:
- Site1
- Site2
- Site3
- Site4
- Site5
- Site6
- Site7
And i want a menu which only contains Site1, Site6, Site7.
I need that menu in the footer.
I have found a way to create a menu with defined pages, by adding a checkbox in every page so I can select which pages I want to show in the menu.
Start by editing
NodeTypes.yaml
and extend thePage
nodetype to have this extra propertyAfter that create a
FooterMenu
nodetype in the same file.Create it's typoscript file.
Edit
Root.ts2
file and add in thePage
objectLast but not least, create
FooterMenu.html