HomeHomeUsing DotNetNuk...Using DotNetNuk...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/26/2009 11:25 PM
 

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?

 


Armand Datema

Free DotNetNuke CSS Grid Framework skinsDNNGrid960

For all your skin conversions

2DNN

Follow me on Twitter

 
New Post
2/27/2009 1: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, Technology Lead and Evangelist for DotNetNuke corporation, based in Amsterdam, The Netherlands.

Everything I say on these forums is my own opinion and does not necessarily reflect that of DotNetNuke Corp.
Check out the training sessions at DotNetNuke world. Learn from the Experts!
 
New Post
2/27/2009 4: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 4: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

 

 


Armand Datema

Free DotNetNuke CSS Grid Framework skinsDNNGrid960

For all your skin conversions

2DNN

Follow me on Twitter

 
New Post
8/4/2009 8: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
dnnOsphere.com, An Independent Community for DNN Users
 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...RenderMode="UnorderdList"  still not workin in DNN 5.01RenderMode="UnorderdList" still not workin in DNN 5.01


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.