I want to use my template to display the level 1 ancestor of a page, regardless of the level the page is at in the tree.
I've hit on one method, which is to use the settings.. attribute to apply a "hide" class (defined as display:none) to anything in a menu that is not in the hierarchy but this still produces a lot of html that I don't need (the level 1 siblings of the ancestor asset).
Is there a more straightforward and economical way of doing this? There are a lot of level 1 assets and I'd like to avoid having a design customisation for each one.
Sorry Avi, confusion there is my fault (mixing up my actual requirements with my test setup). :rolleyes:
I actually want to show the level 3 ancestor, and asset lineage won't let me decide the level at which to start printing, only how many levels to print (right?).
Your example is a menu_normal, the outcome is the same as if you just stated level="3". This would still return all of the siblings of a level 3 ancestor, I want only the single level 3 item in the current page's hierarchy.