Thanks a lot. It works. Got errors first, but I set up the cms new and integrated your bugfixes http://get-simple.info/forum/viewtopic.php?id=213, so it works now. Must have been something else wrong.
Edit: two things...
1. it's sorted the other way round then the GS build-in function - the page with the highest priority get's displayed at the end of the list.
2. it would be really usefull to have some 'class' added to the list and the submenu list, too. Because
<li class="parent"> is only added to the direct-parent of the sub-page, when I'm on a sub-page.
All the other times, there's no class added - strangely enough. Because in your example, I see at least the <li class="parent"> set correctly.
Edit: two things...
1. it's sorted the other way round then the GS build-in function - the page with the highest priority get's displayed at the end of the list.
2. it would be really usefull to have some 'class' added to the list and the submenu list, too. Because
<li class="parent"> is only added to the direct-parent of the sub-page, when I'm on a sub-page.
All the other times, there's no class added - strangely enough. Because in your example, I see at least the <li class="parent"> set correctly.