Bypass Exclude from Nav?
Permalink
I need to put a Sitemap page on a site, and I want it to show EVERY page in the sitemap.
I have quite a few pages that are excluded from the nav for display purposes.
Is there I way I can bypass that attribute and display every single nav item in nested UL structure?
I have quite a few pages that are excluded from the nav for display purposes.
Is there I way I can bypass that attribute and display every single nav item in nested UL structure?
You can use Page list for that... Just get rid of descriptions, and it's almost the same...
If you're running Concrete5.6.1 or higher, there's a super simple way to do this by passing TRUE to the $controller->getNavItems() function at the top of most templates. I wrote you a quick blog post about it for future posterity:
http://concrete5tricks.com/blog/ignore-exclude-from-nav-attribute-i...
http://concrete5tricks.com/blog/ignore-exclude-from-nav-attribute-i...
Wow! Super awesome.
Thanks Jordan!
Thanks Jordan!