Hide page from main nav but show in sitemap autonav?1 user found helpful
I thought autonav was broken until I realised it wasn't showing things because the 'Hide from nav' box was clicked. Trouble is, I need to hide a News page from the main homepage navigation, but I want it to appear in the autonav block which I've inserted in my sitemap page.
Any thoughts on how to get round this?
When you click on a block you can choose a custom template. These are different "view" for the same block. If you create your own, you will have free access to change the behavior of the block so that it ignores the hide property, or perhaps respects your own. You can copy view.php from the autonav block and rename it as a template.
If you create your own template, don't put it in the concrete directory, but on the root level. The same directory structure is present in both, but the root directories will overwrite the core, and will not be overwritten when upgrading to a new version of Concrete. You can see the structure if you look at the autonav block and its templates folder. You can replicate the same at /blocks/autonav/templates with your own template.
Does this help a little? The autonav block already comes with some custom templates, so looking around at the source files should help you see how this works
If you create a file under /blocks/autonav/templates