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, ...RenderMode="UnorderdList"  still not workin in DNN 5.01RenderMode="UnorderdList" still not workin in DNN 5.01
Previous
 
Next
New Post
2/27/2009 3:25 AM
 

HI

 

I modified my nav like below because I wanted unordered list output

<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" RenderMode="UnorderdList"/>

But still I dont see anything ul releated everything i try no matter what it gets the same crappy nested span output.

I thought this was supposed to be fixed by now?

 

 
New Post
2/27/2009 5:22 AM
 

the proper syntax is:

                            <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>
 

AFAIK it didnt work in dnn 5.0.0 because of a packaging issue. I was able to use this syntax in my local install just fine, however, i am using the source version, which didn't have the issue in 5.0.0 either, so i cannot be sure its fixed


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
2/27/2009 8:31 AM
 

Let me suggest grabbing the template skin I just posted.  Inside the animated.ascx you will see the following.  Simply change the RenderMode from Normal to UnorderedList.  Please note that switching to the new rendering will require a few tweaks to the css to make it look pretty.

<dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" IndicateChildren="false" ControlOrientation="Horizontal" CSSControl="mainMenu" MouseOutHideDelay="100">
        <CustomAttributes>
              <dnn:CustomAttribute Name="AnimationType" Value="Slide"/>
              <dnn:CustomAttribute Name="EasingType" Value="Bounce"/>
              <dnn:CustomAttribute Name="EasingDirection" Value="Out"/>
              <dnn:CustomAttribute Name="AnimationLength" Value="1"/>
              <dnn:CustomAttribute Name="AnimationInterval" Value="10"/>
              <dnn:CustomAttribute Name="RenderMode" Value="Normal"/>
        </CustomAttributes>
</dnn:NAV>
 


 
New Post
2/27/2009 8:42 AM
 

mm

 

I am using the starterkit version and when i make a new dnn website adn I run it wit the menu example you just posted (I get an errror

 

<dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" IndicateChildren="false" ControlOrientation="Horizontal" CSSControl="mainMenu" MouseOutHideDelay="100">
        <CustomAttributes>
              <dnn:CustomAttribute Name="RenderMode" Value="Normal"/>
        </CustomAttributes>
</dnn:NAV>

 

 

 

default.aspx.vb line 455

            Dim ctlSkin As DotNetNuke.UI.Skins.Skin = DotNetNuke.UI.Skins.Skin.GetSkin(Me)

Object reference not set to an instance of an object.

thsi error appears when it arrives at the custom attribute.

I havent tried the source or install version yet so willa lso test on them

 

 

 
New Post
8/4/2009 11:22 PM
 

You need to make sure you've added this directive in the top of your skin page

 

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

 

 



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...RenderMode="UnorderdList"  still not workin in DNN 5.01RenderMode="UnorderdList" still not workin in DNN 5.01


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