Exclude page-type from AutoNav by default

Permalink
I want to exclude all my news entries from the navigation. Currently I am using pagelist with subpages. The easiest way would be to set the attribute "exclude from nav" by default for a certain page type. Is this possible? What other ways are there?

 
tek01 replied on at Permalink Reply
You could create a new attribute "exclude from nav by default" and assign it to your "News" page type.
Then filter the menu items by the attribute value in your autonav template.
jordanlev replied on at Permalink Reply
jordanlev
I just created a custom template which addresses this issue:
http://www.concrete5.org/community/forums/usage/page-types-page-pro...

I've uploaded this to the marketplace as well, but it hasn't been approved yet (but if someone is reading this in the future, check here first):
http://www.concrete5.org/marketplace/addons/autonav-exclude-subpage...

-Jordan