Products

Solutions

Learn More

Partners

Community

Blog

About

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, ...DDRMenu HTML Skin Object MarkupDDRMenu HTML Skin Object Markup
Previous
 
Next
New Post
8/12/2011 7:00 PM
 

OK, I'm trying to create a new skin for DNN 6.0 using the HTML approach (not ASCX) and I'm a little confused on the proper syntax for the DDR Menu.

The DDR Menu is the default menu provider in 6.0, correct? 

So, take a look at what I have and let me know if this looks right for the DDR Menu in 6.0.

<object id="dnnNAV" codetype="dotnetnuke/server" codebase="NAV">
    <param name="ProviderName" value="DNNMenuNavigationProvider" />
    <param name="IndicateChildren" value="false" />
    <param name="ControlOrientation" value="Horizontal" />
    <param name="CSSControl" value="mainMenu" />
</object>

If this is not the way to specify the DDR Menu, please suggest chages.

Thanks in advance.

 
New Post
8/12/2011 7:07 PM
 
Sorry... This really branched into a new topic, so I split the post. :)

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
8/13/2011 10:22 AM
 
No problem Will.

I have looked for every recent DDR Menu posting , been to DNN Garden and the Codeplex DDR site and I can't seem to find the answer to my questions about using the DDR Menu that comes with DNN 6 in an HTML Skin.

I recently had to install and switch to the new DDR Menu 2.0.1 on a DNN 5.6.3 site to solve a problem with Firefox and I got a nifty animation effect on the drop-down submenus.  I want that effect in DNN 6, but it doesn't seem to work.

So, I really have two questions:

1.  What is the correct syntax for HTML Skinning (NOT ASCX) in DNN 6 for the DDR Menu?

2. Were is a list of options that can be used in the "param name=" declarations so I can turn on the animation?

Thanks in advance to anyone that can help me.
 
New Post
8/14/2011 1:11 PM
 
Hi David, you can instantiate a DDRMenu by using the syntax you've specified but with DDRMenuNavigationProvider instead of DNNMenuNavigationProvider. Alternatively you can use something like this if you're not using the DNNMenu emulation template:

<object id="dnnNAV" codetype="dotnetnuke/server" codebase="DDRMENU">
    <param name="MenuStyle" value="DumpXML" />
</object>

Unfortunately the HTML syntax doesn't support parameter collections so you need to use ASCX skinning to supply ClientOptions for configuring animations. However, it sounds like the default animation is the one you want so you probably don't need to worry about that in your case.

 
New Post
8/15/2011 4:09 PM
 
Thanks Mark.  It's always comforting to get instruction fro the person who wrote the code.

So, just to be clear, if I'm in "emaulation" mode, all of the normal parameters listed in the Skinning Guide should work, correct?

I also notice that you have codebase="DDRMENU" in your example, but it doesn't work in "emulation" mode.  I went back to codebase="NAV" and it works.  So, it seems I should use a different codebase parameter depending on which mode I'm in.  Is this correct?

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDRMenu HTML Skin Object MarkupDDRMenu HTML Skin Object Markup


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out