According to mndnn website, If you ever need to dynamically output two different levels of menu in the same skin, read below. In some cases you may need a primary or secondary page to show it’s children and the child page to show it’s siblings.

You can do that in the same skin. This example uses the DNN Garden menu, but it could be any provider where the levels are specified

<div id="side-nav">

<%  If PortalSettings.ActiveTab.Level < 1 Then%>

<ddr:MENU ID=”MENU2″ MenuStyle=”ULMenu” runat=”server” NodeSelector=’0,0,1′ ExcludeNodes=”Admin, Host” />

<% Else%>

<ddr:MENU ID=”MENU3″ MenuStyle=”ULMenu” runat=”server” NodeSelector=’-1,0,2′ ExcludeNodes=”Admin, Host” />

<% End If%>

</div>


Now I can use the same skin for two levels of hierarchy. Using DNN Garden, the node selector determines the depth of the menu.

Now on my primary pages, I can show the children. On the child pages, I can show it's siblings.

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.