Exclude pages from nav by default
Permalink 1 user found helpful
Hi,
Is there a way to exclude a page from the navigation by default - without having to tick the box in the page properties?
The site I'm designing has news articles that I don't want to appear in the main nav (they are listed using the page view block on the main News page), but I don't want to rely on the end user remembering to tick the box each time they create a new article.
I want the articles (that use their own template file) to be excluded by default.
Thanks in advance for any advice.
Tony.
Is there a way to exclude a page from the navigation by default - without having to tick the box in the page properties?
The site I'm designing has news articles that I don't want to appear in the main nav (they are listed using the page view block on the main News page), but I don't want to rely on the end user remembering to tick the box each time they create a new article.
I want the articles (that use their own template file) to be excluded by default.
Thanks in advance for any advice.
Tony.
Thanks for this Jordan, really useful for a project I'm working on. Going to try and understand the code so I can see how you got the child page IDs and use it in the problem I have in this thread:
http://www.concrete5.org/community/forums/customizing_c5/filtering-...
http://www.concrete5.org/community/forums/customizing_c5/filtering-...
I'm experiencing a similar issue in 5.6.0.2.
New blog posts are being created with the Exclude from Nav attribute 'present' but not checked.
I have my blog post page types Settings set to include the Exclude from Nav attribute.
Then, under page type attributes I set Exclude from Nav to "Default Value
- The checkbox will be checked by default." This was done underhttps://www.verduragardens.com/index.php/dashboard/pages/attributes/...
Does anyone know if this is the right place? Am I missing something?
Appreciate the help.
Best,
Joel
New blog posts are being created with the Exclude from Nav attribute 'present' but not checked.
I have my blog post page types Settings set to include the Exclude from Nav attribute.
Then, under page type attributes I set Exclude from Nav to "Default Value
- The checkbox will be checked by default." This was done underhttps://www.verduragardens.com/index.php/dashboard/pages/attributes/...
Does anyone know if this is the right place? Am I missing something?
Appreciate the help.
Best,
Joel
Have the same issue. I want all pages with a certain page type to be excluded from nav.
http://www.concrete5.org/marketplace/addons/autonav-exclude-subpage...