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, ...DNN Nav: RenderModeDNN Nav: RenderMode
Previous
 
Next
New Post
1/13/2009 3:23 PM
 

We've recently set up a new DNN 5.0 installation, which is what we're planning to use going forward (at the moment, we're not upgrading older DNN sites.)  Documentation seems piecemeal, but these forums have been a great help, and we're generally getting by just fine.  I'm beginning to believe, however, that I misunderstood something.

Does the current build of DNN include support for the RenderMode property spoken of by Jon Henning (here)? I've been able to locate a more recent enhancement ticket in Gemini (here, and a recent support post in this very forum indicates that the attribute is currently functional for the control...

...but even then, I've had no luck finding out a concrete answer either way, and I certainly haven't been able to get it to work in testing. Was the syntax changed, and I'm looking under the wrong terms? Or is it still in the pipeline, waiting to make its debut? Like others, we're experiencing trouble using the default DNN Nav provider in IE6, with the submenus being unclickable, so we'd hoped that rolling over to the unordered list mode would be a simple fix (in addition, our primary business is SEO, and we prefer the unordered list style for that.)

Any information available on this would be greatly appreciated.

 
New Post
1/14/2009 6:21 AM
 

Aftter getting a bit frustrated with these questions, esspecially because I once had it working in an alpha release, I examined the (dnn and webcontrols) sources, compared with an early alpha Jon kindly provided in fall 2007, did some more test...

My conclsion: Rendermode propery does not work yet, some UL processing code seem to be missing from the nav menu provider source.

I made an gemini issue out of it: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=9220

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
1/14/2009 10:13 AM
 

I am confused.  RenderMode has worked with the Nav Skin object for over a year.  There was simply a new RenderMode added to the new DNNMenu.  The one catch is that the core does not support Custom Attributes with html skins, only ascx skins.  This has been something I have been trying to get added to the core, but with little luck.

Regarding the IE6 bug and others.  I will be posting an installation package for the next version of webcontrols and clientapi on codeplex soon.


 
New Post
1/14/2009 11:01 AM
 

I was/am confused as well. I tried all kinds of stuff but I can't simply get it to work. My hypothesis: the code that implements the rendermode feature is currently not part of DNN5. I know, that sounds pretty vague.

Like in your blog, I added the following to the skin:

<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.Skins" Assembly="DotNetNuke" %>
 

and my menu looks like this:

<dnn:NAV runat="server" id="dnnNAV"
ProviderName="DNNMenuNavigationProvider"
IndicateChildren="false"
ControlOrientation="Horizontal"
CSSNodeRoot="main_dnnmenu_rootitem"
CSSNodeHoverRoot="main_dnnmenu_rootitem_hover"
CSSNodeSelectedRoot="main_dnnmenu_rootitem_selected"
CSSBreadCrumbRoot="main_dnnmenu_rootitem_selected"
CSSContainerSub="main_dnnmenu_submenu"
CSSNodeHoverSub="main_dnnmenu_itemhover"
CSSNodeSelectedSub="main_dnnmenu_itemselected"
CSSContainerRoot="main_dnnmenu_container"
CSSControl="main_dnnmenu_bar"
CSSBreak="main_dnnmenu_break" >


<CustomAttributes>
<dnn:CustomAttribute Name="RenderMode" Value="UnorderedList" />
</CustomAttributes>


</dnn:NAV>
 

No errors, just the same menu. I used BeyondCompare to compare the rendered source (with and without these additional skin code), but only an empty line below the following was different:

<span><span class="" id="dnn_dnnNAV_ctldnnNAV"></span></span>

Peter

 

 


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
1/14/2009 12:48 PM
 

Hrm.  I wonder what we're experiencing, then.  I am using an ASCX skin file (skin directory currently contains "index.ascx", "index.doctype.xml", two stylesheets, a preview JPG, and the graphics in a subfolder).  For that matter, I've tried adding the RenderMode property to the NAV skin object on the MinimalEntropy skin, as well, to no effect.

The only difference I'm seeing between what Peter & I are doing is that I've been adding the "RenderMode" property directly into the skin object, as opposed to a sub under CustomAttributes, which may in fact be an error on my part.  Below is the skin object, as it appears in the ASCX skin:

<dnn:NAV runat="server" id="dnnNAV"  ProviderName="DNNMenuNavigationProvider" IndicateChildren="false" ControlOrientation="Vertical"
CSSNodeRoot="main_dnnmenu_rootitem" CSSNodeHoverRoot="main_dnnmenu_rootitem_hover"
CSSNodeSelectedRoot="main_dnnmenu_rootitem_selected" CSSBreadCrumbRoot="main_dnnmenu_rootitem_selected"
CSSContainerSub="main_dnnmenu_submenu" CSSNodeHoverSub="main_dnnmenu_itemhover"
CSSNodeSelectedSub="main_dnnmenu_itemselected" CSSContainerRoot="main_dnnmenu_container"
CSSControl="main_dnnmenu_bar" CSSBreak="main_dnnmenu_break" RenderMode="UnorderdList" />

Tried adding it as a custom attribute as did Peter, and still no luck.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN Nav: RenderModeDNN Nav: RenderMode


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