Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Show parent items instead in sidebar menuShow parent items instead in sidebar menu
Previous
 
Next
New Post
5/30/2016 2:08 PM
 
Arjan Pottjewijd wrote:

Thank again Timo, but I still need to make it conditional somehow. I have a top menu and the left side menu. Within the left menu there is always only 1 level of menu items. It should show child items of the current selected menu item if there are any child items, OR, if there are no more child items, show items at the same level.

I know how to do both with the nodeselector (show only child items or show parent child items). But how do I conditionally set that? If the current menu page has child items use nodeselector(0,0,0) and if it has no child items use nodeselector(-1,0,0) ? That's where I'm still stuck :-).

Ok, I understand now.
I have to admit it took met longer than I expected, but I added it to the demo skin.
Check out http://demo.40fingers.net/dnn-ddr-dem... > example "Child pages, siblings if no children, xslt"

 
New Post
6/1/2016 1:41 AM
 

This is great Timo! Exactly what we needed and you not only guided us on our way but worked out the entire solution for us. Thank you so much. Hope we can hire you at www.timo-design.nl if we ever run into any future DNN issues or needs, you really helped us out here. 

 
New Post
6/6/2016 4:19 AM
 
Arjan Pottjewijd wrote:

This is great Timo! Exactly what we needed and you not only guided us on our way but worked out the entire solution for us. Thank you so much. Hope we can hire you at www.timo-design.nl if we ever run into any future DNN issues or needs, you really helped us out here. 

 Glad I could help :-)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Show parent items instead in sidebar menuShow parent items instead in sidebar menu


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out