Page list show parent item

Permalink
Hey there,

I have a Sitemap that looks like this:

Female Sizes
-- Size 16
---- Mary
---- Karen
---- Suzy
-- Size 14
---- Emma
---- Hayley
---- Katie
-- Size 12
---- Flow
---- Sharon

On "Female" page I want to show ALL names but for a heading to be above each category (eg Size 14, etc)

I thought a normal page list would work but it flattens the list and if I change the order of people in the sitemap this will not work.

Therefore I was wondering if I could output individual pagelist for each and display it's respective parent

I can only work out how to get the parent of the page that the Page List is placed and NOT the parent in the list...

Any help would be great

dancer
 
hutman replied on at Permalink Reply
hutman
Is there a reason that you are using a PageList instead of an Autonav in this case? It seems like this would be the perfect case for an Autonav
dancer replied on at Permalink Reply
dancer
Hey, thanks for your response.
Reason I am not using an auto nav is that I do not want the parent to be a
link.. merely a title.
Cheers
JohntheFish replied on at Permalink Reply
JohntheFish
If the list is fixed (Ie, the items in it don't change much), You could just write it out and format it in a content or html block in a stack and include it where you want.

If the list needs to be dynamic (ie, keep up to date with new pages), you could use one of the extended page list addons like Page List Plus and add attributes to pages to decide which pages to show in which list.

If you want ultimate flexibility, my Uber List and Magic Data addons work together to list anything by any kind of inclusion or exclusion criteria you like.