I have built design parse files 1000 times, but it is late and I am not thinking how to figure this one out.
In my subnav menu, I would like to show the parent top level page as the first item, and then show all the children. So far, I am only getting the children to show, using:
So, when accessing one of the Sub Pages, I would like it to show Top Page as well as Sub Pages. Does anyone have ideas on how I can show the parent page as the first item?
It's slightly customised to give me the markup I need, but is this what you need? You can then customise the levels in the design customisations.
No, that doesn't work, that is listing all parents and all subs. I want to show the current parent and subs. Similar to what you get when you use level "top" and show_subs "always", but I don't want to show all top and subs. Just the current navigation section I am in.
Is it even possible? I always wanted to figure this out but wasn't possible so I used 2 asset listing to crete the parent and child subs. Or just hide the other parents not related to the child.
Is it even possible? I always wanted to figure this out but wasn't possible so I used 2 asset listing to crete the parent and child subs. Or just hide the other parents not related to the child.
I just figured it out. On top of each of my side subnav menus I also print another menu that shows all top pages, which I then hide using CSS. Then, based on what section they are in (the body tag has an ID for each section), I just show the corresponding top parent item. Works exactly how I was needing.
No, that doesn't work, that is listing all parents and all subs. I want to show the current parent and subs. Similar to what you get when you use level "top" and show_subs "always", but I don't want to show all top and subs. Just the current navigation section I am in.
Hope i understand your question correctly, I used asset_lineage it works.