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, ...Is there equiviant  to rootonly for DNNMenu?Is there equiviant to rootonly for DNNMenu?
Previous
 
Next
New Post
7/7/2008 4:01 PM
 

Is there a rootonly equiviant for DNNMenu? I need my menu to not show sub menus.

Setting the ContainerSub CSS class to display:none works but the sub menu choices are still visible in the source code.

Any suggestions welcome.

 
New Post
7/8/2008 10:22 AM
 

After an extensive Google search I found a pdf on this site that gave me my answer.

The following will disable sub menus in dnnmenu.

StartTabId = "-1"
ExpandDepth = "1"
PopulateNodesFromClient = "False"

Does anyone know of a source where I can find more information about these parameters?

 
New Post
7/17/2008 11:56 AM
 

DNNMenu is documented in the Navigation Web Controls Doc -- you can get it from the documentation page.  It lists DNNMenu properties as well as a compare of DNNMenu and SolPartMenu.  I found it difficult at first to figure out how to do what you asked as well since a few of the properties aren't listed in the tables.  Here's an excerpt of page 21 that lists them:

This includes properties for Populate On Demand (PopulateNodesFromClient, ExpandDepth), which nodes to display (Level, RootOnly, StartTabId), and what text to use for Tooltips (ToolTip).

There are a few examples in the doc as well that help you figure out what they do too.

 
New Post
7/17/2008 2:01 PM
 

savannahchik wrote

DNNMenu is documented in the Navigation Web Controls Doc -- you can get it from the documentation page.  It lists DNNMenu properties as well as a compare of DNNMenu and SolPartMenu.  I found it difficult at first to figure out how to do what you asked as well since a few of the properties aren't listed in the tables.  Here's an excerpt of page 21 that lists them:

This includes properties for Populate On Demand (PopulateNodesFromClient, ExpandDepth), which nodes to display (Level, RootOnly, StartTabId), and what text to use for Tooltips (ToolTip).

There are a few examples in the doc as well that help you figure out what they do too.

Don't you mean page 18 in the document? Page 21 is the appendix :-)

It also was discussed on this thread.


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
7/17/2008 4:28 PM
 

Cuong Dang wrote

 

Don't you mean page 18 in the document? Page 21 is the appendix :-)

Hmm...I just checked and the doc has 25 pages, and page 21 definitely has what I quoted.  Maybe you're looking at an older version of the doc?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Is there equiviant  to rootonly for DNNMenu?Is there equiviant to rootonly for DNNMenu?


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