how to display in a left menu the child items of main menu

4.3k Views Asked by At

I want to build a site with two menus. The first menu will be in the top pane and the second menu will be in the left pane.

What I am looking for is how to show the child items in the left pane.

For example, for a page with name "testPage" where it has as child menu items "testPageChild1" and "testPageChild2", I want in the left pane to display those child items.

How could I do this?

If there is another way to implement something like this, please let me know.

Thanks

3

There are 3 best solutions below

3
On BEST ANSWER

You can do this with your menu, or you can do it with a module as notandy points out. The "console" module is also an option, it will provide links to children of whatever page lyou point to.

As for doing it within the skin, using the Menu, you need to adjust the "Level" attribute of the Navigation control.

<%@ Register TagPrefix="dnn" TagName="NAV" Src="~/Admin/Skins/Nav.ascx" %>
<dnn:NAV id="TopLevel" runat="server" Level="Root" />
<dnn:NAV id="Child" runat="server" Level="Child" />

and then style accordingly

0
On

What you need is a child links module. You simply add it to the left pane and then configure it to show subpages of the current page. I usually use Ventrian's http://www.ventrian.com/Products/Modules/ChildLinks.aspx. But there are a number of others available, including a free one http://dnnmodules.cn/Modules/Childpagelistfree.aspx.

2
On

according to http://www.dnnsoftware.com/wiki/ddrmenu-user-guide

i've tried to set my module to NodeSelector="RootChildren" and i worked.