Creating a nav menu with only certain pages

Permalink
I want to create a menu, separate from the main nav that only shows certain pages. Some of the pages are under the main "Home" page in the site and some are sub-pages of other pages in the sitemap.

Any idea on how to do this?

Right now I am using the Ukao Menu add on, but I have no problem styling the autonav if necessary. However if there is an add on that will accomplish this, that would be great too.

Thanks in advance

globalnerds
 
mkly replied on at Permalink Reply
mkly
If you are looking for flat navigation(no sub pages) look into using a page list

http://www.concrete5.org/documentation/editors-guide/in-page-editin...

If you need sub directories then AFAIK you would need to create a new autonav template. In this case I would create a new Page Attribute named "Include In Special Menu" and then modify the template to only include attributes that have.

If you are modifying a copy of the autonav view.php template you can change line 25ish line
if (!$_c->getCollectionAttributeValue('exclude_nav')) {

to
if ($_c->getCollectionAttributeValue('include_in_special_nav')) {


Note that we use the Attribute Handle not the name in the if statements.

Let me know if you need help creating a new autonav template.
cannonf700 replied on at Permalink Reply
cannonf700