I am migrating my site to SS and trying to add secondary menu apart from main one (f.eg Home, Career, About us, Contact). I'm a bit new to silverstripe and can't find a solution/advice that will simply explain a walk through. Particularly, when I am adding new pages through CMS, links to them are listed all together in a website
What I need is a secondary independent menu that would list only particular page links, something like "Show in menus?" option in CMS page settings..I've tried adding a custom field to page object via MySQL and to filter it with "IF" statement in above loop but no use..
Rebuild the db - http://localhost/your-site/index.php/dev/build?flush=1
There might be some errors during rebuild, asking to change Private declaration to Public. I didn't went too deep for the reason but it worked.
After db rebuild you must have extra item in CMS called - Menu Management. Works pretty simple and intuitive. I've created 2 menu sets and associated my pages to them accordingly. You can nest them in layouts by: