How can I create a level dependent subnavigation? Like I want to only echo the 3-level of the page tree relative to the current page.
I tried to creates something, but it gets to complicated for my liking.
Maybe I'm missing the obvious. Following code I check how many parents there are form the root and depending on that output childs or siblings.
<?php
// start building content navigation on top
$content_nav = '';
// build 4th level navigation only
foreach($page->parents as $le