How to add classes and html to Auto Nav?
PermalinkWhich is the proper way to do this? Do i have to build a new block for this or is there an easier way?
I'd heard rumors that this would be included in the core product, and it may be so at this point.
In any case, here's his take on his modified template -- this will give you some good guidance as to either incorporating this in your site, or using it effectively.
http://c5blog.jordanlev.com/blog/2011/12/customizing-the-autonav-te...
http://www.concrete5.org/documentation/how-tos/designers/change-how...
Create a copy of the core autonav view.php in site_root/blocks/autonav/view.php
If you want to add a custom css file for just this template, create view.css in the same folder.
Then edit the code that outputs the nested lists. There are detailed comments in the file.
Then in the global header area where the autonav block resides, select the new block template you have created.
Another howto that contains related info is
http://www.concrete5.org/documentation/how-tos/developers/change-th...