New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

How to Configure DDRMenu to Display Grand Parent Page, Parent, Siblings and Children of Current Page

Return to previous page

  • 3/12/2015
  • 3985 Views

Question:

Ismet Dumlupinar long time ago

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?

How to Configure DDRMenu to Display Grand Parent Page, Parent, Siblings and Children of Current Page

Ismet Dumlupinar
Ismet Dumlupinar long time ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member