Is there a simple way of getting the level of the current page within the navigation structure? I.e. top of section, sub page, sub sub page etc.
The reason is that I need the submenu for each section to appear in a different place depending on whether the user is on a top level section page or a sub page. So for example, in the following structure:
|- The past
|- The future
The 'the past, the future, members' submenu would appear at the *top* on the 'About us' page but on the *bottom* of the 'The Past' page. Realise this is a very confusing description but hope it makes vague sense. Is this possible?
In the control of Level(1) or Menu(1) you can check the linking mode:
<% if LinkingMode = current %>
// This would be the About us page
<% else_if LinkingMode = section %>
// This would be the sub pages
<% else_if LinkingMode = link%>
// This would be out of this section completely
<% end_if %>