2 menu's

Permalink
Is there a way to make a main menu for navigation and a sub menu for navigation? If so how?

bryanlewis
 
matogertel replied on at Permalink Reply
matogertel
I added a custom field to my pages called "add_to_footer_menu", it is of course a checkbox.
Then I created a custom template for my autonav and added this code:
foreach($aBlocks as $ni) {
      $_c = $ni->getCollectionObject();
      if ($_c->getCollectionAttributeValue('add_to_footer_menu')) {
//rest of the code
}
}

My "footer" pages sit on the same level as the top pages, and all of them have also "exclude_from_nav" checked.
Hope it makes sense!