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, ...how to show certain submenus in navigationhow to show certain submenus in navigation
Previous
 
Next
New Post
12/22/2010 5:12 PM
 

I have been trying to figure out a way to show certain submenus and not others using the Admin/Skins/Nav.ascx control. 

Ex of heirachy:
About (at root level - this will show up on the top menu)
--Background
--Help
-----User Guide
-----Admin Guide
--FAQs
------faq1
------faq1

If the user clicks on About from the top menu  I want to see the following on the left menu (which is all of it's children)
Background
Help
FAQs

If the user clicks on About from the top menu and then Help on the left menu, I want to see the following in the menu:
Background
Help
--User Guide
--Admin Guide
FAQs

If the user clicks on About from the top menu and then FAQs on the left menu I want to see:
Background
Help
FAQs
--faq1
--faq1

Is there a way to do this by just using the DNN menu in the skin?  Right now I have this which displays everything expanded (instead of just what is under the current selected item and the parent level of the section the user is in): So if the user clicks on FAQs it has both FAQs and Help expanded when really I just want FAQs expanded.

<dnn:NAV runat="server" id="dnnNAV2" forcedownlevel="true" level="Child" StartTabId="63" providername="DNNMenuNavigationProvider" indicatechildren="false" controlorientation="Vertical" />

Sorry if this is a basic question but I can't find a solution anywhere and I'm new to DNN.

Thanks in advance for your help!

 
New Post
2/2/2011 2:03 PM
 
Anyone have ideas on this? This issue is happening on our production server so I need to put out a fix for it asap! If anyone needs more information please let me know. Thanks!
 
New Post
2/2/2011 2:50 PM
 
If you set the menu to have everything expanded by default you van use the bc or the sel class to hide and show the subitems, but that means it really works after a click (meaning the clicked page get's loaded) and then the menu will show what you want
 
New Post
2/2/2011 3:01 PM
 
So does this mean you would have to create custom code?  I want something general that will work throughout the site instead of having to code each case.  How would I update the following menu to get this to work?

<dnn:NAV runat="server" id="dnnNAV2" forcedownlevel="true" level="Child" StartTabId="63" providername="DNNMenuNavigationProvider" indicatechildren="false" controlorientation="Vertical" />
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...how to show certain submenus in navigationhow to show certain submenus in navigation


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