where are items picked up by auto-nav configured?
Permalink
How does auto-nav know what to include?
I want my homepage to have the main menu so I've added an auto-nav block to my homepage.
My main menu has three items (at least it *should* have 3). Problem is, an extra one is showing up. A 'blog' item is in my list. This may simply be because that module is 'flagged' as a main menu item - I don't really understand how auto-nav knows what my items are.
How/where do I go to determine what sections are included in auto-nav? I'll go and see if 'blog' has been accidentally added to the list for auto-nav to pick up.
I want my homepage to have the main menu so I've added an auto-nav block to my homepage.
My main menu has three items (at least it *should* have 3). Problem is, an extra one is showing up. A 'blog' item is in my list. This may simply be because that module is 'flagged' as a main menu item - I don't really understand how auto-nav knows what my items are.
How/where do I go to determine what sections are included in auto-nav? I'll go and see if 'blog' has been accidentally added to the list for auto-nav to pick up.
It's only showing *one* extraneous item, not all the other items. So somewhere that item has some sort of label that auto-nav is picking up.
Below is my sitemap. Three main sections (which I want) and three individual items (which I don't want). I am able to configure the auto-nav to include only top-level items (Company, Solutions, Process), which is fine, but for some reason it's grabbing Blog as well (though, strangely, not Contact or Privacy)
My Sitemap:
___________
Company
- > Culture
- > Exec
- > Media
- Careers
Solutions
- > Shopping
- > Mobile
- > API
Process
----
Blog
Contact
Privacy
My autonav:
___________
Blog
Company
Solutions
Process
Below is my sitemap. Three main sections (which I want) and three individual items (which I don't want). I am able to configure the auto-nav to include only top-level items (Company, Solutions, Process), which is fine, but for some reason it's grabbing Blog as well (though, strangely, not Contact or Privacy)
My Sitemap:
___________
Company
- > Culture
- > Exec
- > Media
- Careers
Solutions
- > Shopping
- > Mobile
- > API
Process
----
Blog
Contact
Privacy
My autonav:
___________
Blog
Company
Solutions
Process
Where are these page attributes you speak of?
I can use custom CSS:
#homepage_menu ul li:first-child{
display:none;
}
but this is pretty hacky and risky, since it will cause no end of consternation in maintenance if and when the site ever changes.
I can use custom CSS:
#homepage_menu ul li:first-child{
display:none;
}
but this is pretty hacky and risky, since it will cause no end of consternation in maintenance if and when the site ever changes.
You go into the page’s properties and there you choose “custom attributes” or whatever that is called. If it’s not there by default yet you can add the attribute “exclude from nav” from the select box, it’s a core attribute that should exist by default when the CMS is installed. You can create more attributes for specific requirements if you like.
On the dashboard sitemap, on the page you want to exclude, look at the page properties, custom attributes tab, and there will be a checkbox to exclude the page from autonav.
If you want something more powerful, Jordanlev has an add-on that takes this further and excludes whole branches from autonav.http://www.concrete5.org/marketplace/addons/autonav-exclude-subpage...
If you want something more powerful, Jordanlev has an add-on that takes this further and excludes whole branches from autonav.http://www.concrete5.org/marketplace/addons/autonav-exclude-subpage...
> dashboard sitemap ... page properties ... a checkbox to exclude the page from autonav.
Perfect! Exactly what I needed! Thank you both!
Perfect! Exactly what I needed! Thank you both!
You then exclude pages you don't want in the autonav with page attributes.
So a general answer would be, autonav includes everything, but by various means you can tell it what to leave out.