<!-- Displays the mainnav -->
<%=Me.GetMenuHTML("main")%>
<!-- Displays the subnav -->
<%=Me.GetMenuHTML("subnav")%>
<!-- Displays a sibling nav -->
<%=Me.GetMenuHTML("sibling")%>
<!-- Displays children of page in a nav -->
<%=Me.GetMenuHTML("children")%>
<!-- Displays a sitemap -->
<%=Me.GetMenuHTML("sitemap")%>
<!-- Displays a breadcrumb nav - use with caution as this sometimes doesn't work -->
<%=Me.GetMenuHTML("breadcrumb")%>
<!-- Displays all children in nav of a particular page. Insert the page ID where 'childpagecode' is seen -->
<%=Me.GetMenuHTML("childpagecode")%>
<!-- Displays direct children of a particular page using the page ID - Insert your page id where 91519 is displayed -->
<%=Me.GenerateChildPageCode(91519)%>
<!-- Display all children of page ID -->
<%= Me.GenerateChildPageCode(9999, includeSubChildren:=True) %>
<!-- Generate ChildPage Set based on current page -->
<% If Not IsNothing(New PublicPage().CurrentPage) Then %>
<%= Me.GenerateChildPageCode(New PublicPage().CurrentPage.SitePageId, includeSubChildren:=True) %>
<% End If %>
<!-- Generate ChildPages Set based on current page - if n/a generate siblings -->
<% If Not IsNothing(New PublicPage().CurrentPage) Then %>
<% Dim htmlMenu As String = Me.GenerateChildPageCode(New PublicPage().CurrentPage.SitePageId, includeSubChildren:=True) %>
<% If String.IsNullOrWhiteSpace(htmlMenu) Then %>
<% htmlMenu = Me.GenerateChildPageCode(New PublicPage().CurrentPage.ParentPageId, includeSubChildren:=True) %>
<% End If %>
<%= htmlMenu %>
<% End If %>
<!-- Displays a store related nav -->
<%=Me.GetMenuHTML("store")%>
<!-- Displays all children of a particular page and includes that page as well. Insert your page id where 91519 is displayed -->
<%=Me.GenerateChildPageCodeIncludeParent(91519)%>
<!-- Displays a level 2 nav -->
<%=Me.GetMenuHTML("level2nav")%>
<!-- Generate Links for Main Top Level Pages - This will generate links for all of the main pages of the website. ALl you have to do is put Zero as shown in the snippet. -->
<%=Me.GenerateChildPageCode(0)%>