How to make PageList to show siblings of Parent by default?

Permalink
I got as far as realizing I can stick a PageList on the default page for the Page Type, but I want the PageList to display a menu of links to all the pages within that particular section of the page you are on. In other words: siblings under the current pages Parent page.

Just trying to avoid making a bazillion templates or making the client add a new PageList block and fiddling with the settings every time they make a new page.

 
adajad replied on at Permalink Reply
adajad
Use the autonav block instead, if you want to use it as menu. You can then set it to show pages the way you want.

Edit: See this how-to for more information and understanding the autonav: http://www.concrete5.org/documentation/how-tos/editors/primer-auto-...
zoinks replied on at Permalink Reply
Oh yes, it looks like if I specify it "at the level above" that will do exactly what I need. Thank you!

Follow-up question: using the same template, is there any way you can think of to change color styles according to which particular Parent the page is under? (Each Parent is a color-coded section, so it would be cool to have the nav list color-coded to reflect that. )
adajad replied on at Permalink Reply
adajad
I'm typing this on my phone so don't expect any examples, but I guess the easiest way to do this is with jQuery or JavaScript checking if the prent has something unique and by that apply a CSS style on all links in the nav.

Otherwise you can add a page attribute and use that information when building yor autonav. Remember though that you will have to set the attribute on all pages.
zoinks replied on at Permalink Reply
Ooh ooh ooh! Awesome that I understand you. I can have jQuery check the parent ID and then set up rules for each of the 5 options. Thank you for pointing me in the right direction. Now, I just have to try to figure out how to do that as I am not fluent in jQuery... hi ho, hi ho, it's off to Google I go! Thanks again!