I'm using DNN 7.4.0 and current page structure is below:
ROOT LEVEL:
1) Home, Blog, Contact
SUBPAGES:
FOR HOME: Services, About Us, Get a Quote
FOR BLOG: Archives, Search
CONTACT: No subpages.
Some of the subpages also have children and grandchildren.
For instance:
Home > Services > Solutions > Highlights > Project Development
Entire DNN site has a lot of pages, children, grand children and great grand children.
My goal is to display only following pages on sidebar (left menu).
Level 1: Grand Parent page of current page,
Level 2: Parent of current page and its siblings.
Level 3 :Current page and siblings of current page
I've placed a DDR Menu instance at sidebarpane at my skin and now trying to find correct nodeselector.
My ULTokens.txt file contains following:
<nav>
<ul>
[*>NODE]
</ul>
</nav>
[>NODE]
<li>
<a href="[?ENABLED][=URL][?ELSE]#[/?]">[=TEXT]</a>
[?NODE]
<ul>
[*>NODE]
</ul>
[/?]
</li>
[/>]
I have tried several nodeselectors but couldn't get to find solution yet. Could you please recommend a node selector and ultokens.txt file if my approach is incorrect?