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, ...switch from "dnn:NAV" to "dnn:DNNMenu"switch from "dnn:NAV" to "dnn:DNNMenu"
Previous
 
Next
New Post
7/5/2008 2:36 PM
 

I haven't found any good info about switching from the default "dnn:NAV" to "dnn:DNNMenu" - some of it may be because i'm not yet familiar with all the terminology.  i successfully have the dnn:DNNMenu object in my skin page - however it doesn't have any of the navigational elements in it.  I must be missing the part that binds the site map data to the control.... thanks for any help or links.

 

 
New Post
7/5/2008 5:03 PM
 

There are a few navigation webcontrols in DotNetNuke framework. The most common type today that many are using for their sites is dnnMENU.

I think you're refering to switching from SolPartMenu to dnnMENU.

Here's the solution.

You need to specify the provider that you want it to render as followed:

  1. Open your skin.ascx file and locate your navigation
  2. Add this attribute to the navigation: ProviderName="DNNMenuNavigationProvider"

Hope this helps!


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

 
New Post
7/5/2008 5:19 PM
 

The skinobject NAV use the default menuprovider dnnMenuprovider. (from 4.4 I think)

The skinobject MENU use the solpartmenuprovider and are the same as the skinobject SOLPARTMENU.

At my knowledge no skinobject called DNNMenu exist.

Jan

 

 
New Post
7/5/2008 9:44 PM
 

The default skins for example "DNN-Blue" have the menu/navigational element as "<dnn:NAV  ID="dnnNAV" />" and i want to switch to "<dnn:DNNMenu id="NavMenu" />" as with the example at: http://webcontrols.dotnetnuke.com/samples/MenuHorizontalSub.aspx - primarily to get greater control over the look and also to use the horizontal subnav.

I have tried adding in the "DNNMenuNavigationProvider" - however this yields the same result -- no errors, however no menu items either...so something else must be missing.  my full reference is:

<dnn:DNNMenu id="NavMenu"
            TreeScriptPath="js/"
            DefaultNodeCssClassSelected="NavSelClass"
            DefaultNodeCssClassOver="NavHoverClass"
            DefaultNodeCssClass="NavRootNode"
            DefaultChildNodeCssClass="NavChildNodeDefault"
            rootarrowimage="Images/icon_arrow_right-sm.gif"
            childarrowimage="Images/icon_arrow_right-sm.gif"
            SystemImagesPath="Images/"
            MenuBarCssClass="NavMenuBarClass"
            MenuCssClass="NavMenuClass"
            runat="server"
            DefaultIconCssClass="NavIconDefault"
            SubMenuOrientation="Horizontal"
            UseTables="true"
            />

 

Thanks again for any help.

 
New Post
7/6/2008 1:22 AM
 

It doesn't matter whether you're using [NAV] or [MENU], as long as you specify the provider name as I mentioned ealier. DNN should render the proper webcontrol.

ProviderName="DNNMenuNavigationProvider"

After specifying this, view our page source, then you can tell if it's running the proper control that you want or not.


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

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...switch from "dnn:NAV" to "dnn:DNNMenu"switch from "dnn:NAV" to "dnn: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