HouseMenu 2.0
Last Post 08/27/2008 2:29 AM by Lee Sykes. 1 Replies.
Author Messages
SuBu Studios
Nuke Newbie
Nuke Newbie
Posts:3


--
08/21/2008 1:42 PM  

I'm a designer and I use the HTML/CSS/XML method for creating skins. I want to use HouseMenu 2.0 navigation provider, but need a little help getting the custom attributes to work.

I can get the HouseMenu to show up on my skin, but I  haven't figured out how to get the custom attributes to work. I'd appreciate any help anyone can give me with this.

The NAV in my XML file looks like this (I took out the opening brackets):

  Object>
        Token>[NAV]
        Settings>
            Setting>
                Name>ProviderName
                Value>HouseMenuNavigationProvider
              /Setting>
        /Settings>
        CustomAttributes>
            CustomAttribute>
                Name>CssClass
                Value>HouseMenuNav2
            /CustomAttribute>
            CustomAttribute>
                Name>MaxDepth
                Value>-1
            /CustomAttribute>
            CustomAttribute>
                Name>RootDepth
                Value>-1
            /CustomAttribute>
        /CustomAttributes>
    /Object>

The ASCX generated by DNN when I upload the skin looks like this:

dnn:NAV runat="server"
id="dnnNAV"
ProviderName="HouseMenuNavigationProvider"
CssClass="HouseMenuNav2"
MaxDepth="-1"
RootDepth="-1"

However, the generated HTML does not pick up the custom attributes:

ul id=”DefaultCssMenu” class=”AvastoneCssMenu”>
!-- Depth: 0 -->
li id=”EVENTS_item”>
li id=”MEMBERS_item”>
li id=”Admin_item”>
li id=”Host_item”>
/ul>

Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
08/27/2008 2:29 AM  
hello,

I have not yet used the new house menu 2.0 so can't really provide any advice on configuring the menu. I would suggest asking on the housemenu website.

thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---