Two autonavs with different pages of the same level
Permalink 1 user found helpful+ Home - Introduction - Blog * Blog post 1 * Blog post 2 - About - Service 1 - Service 2
My intention is to have two autonav blocks on each page, configured like so:
Autonav1: Home, Introduction, Blog, About
Autonav2: Service 1, Service 2, etc.
The "Service" pages intentionally don't exist in their own parent folder, because I want to keep their URL very simple:http://www.mysite.com/service1, http://www.mysite.com/service2 and so on.
Any ideas? Perhaps there's a way to only include particular page types in the autonavs, so I could set the first nav to display select page types, and the second one to display the remaining ones?
Related discussions:
http://www.concrete5.org/community/forums/customizing_c5/split-auto...
http://www.concrete5.org/community/forums/customizing_c5/using-page...

If you are on 5.7, create a "page_list" directory in /application/blocks
and subdirectories /templates/head_nav
now copy the view.php and view.css of the pagelist block (find it in /concrete/blocks/page_list )
into /application/blocks/page_list/templates/head_nav
and change it as you like. In the lower portion of the code, you will find the output that renders the whole thing, there you can replace the divs with ul/li
now when adding the pagelists to your header, choose the custom template and you should be good.
You could add exclude from nav attributes to your services pages, so the main autonav works as usual, just doesn't show the services pages.
Then in a new 'services' view template for autonav (or for a page list), have a 'services only' attribute and change the filtering to only include pages with that attribute.