Hey MichalelH,
You look to be clever on this question. May i ask you a similar question?
I would like to have a menu with theses caracteristics:
– If the present page has a parent and no children, show a menu with its parent and him.
– If the present page has a parent and children, show a menu with its parent,him and its children.
– If the present page doesn’t have a parent (so it is a top level page), show a menu with its children only.
I have been stucking on it for ages.
Your help would be very appreciated.
Thx