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>