I think this sort of setup might be what you’re after?…
[cmwizard menu=N branch=current ancestors=2 ancestor_siblings=2 exclude_level="1" siblings=1 alternative="no-output,output"/]
Obviously this is the shortcode equivalent of the widget settings!
In words, I have interpreted your request as being:
– if a root item has descendants, show those descendants (but not the root item itself) if the root item of any of its descendants are the Current Item
– otherwise, show the entire menu
The widget settings are:
– Primary Filter : Branch = Current Item
– Secondary Filter : leave defaults, ie. unlimited depth, starting at Current Item
– Inclusions : the Branch Ancestors, with their Siblings, back up to level 2, and the Branch Siblings (where Branch is the Current Item, from the Primary Filter)
– Exclusions : level 1
– Alternative : No output from… Final Output
You need the Level 1 exclusion otherwise when you’re on page A you get all the root items as well as the page A descendants.
The Alternative kicks in when the main settings produce no output, and it has no configuration set so it will use the defaults, ie. the entire menu (Level 1, unlimited). If you wanted to limit it to, say, just the root level items then you could specify depth=1, eg. …
[cmwizard menu=N branch=current ancestors=2 ancestor_siblings=2 exclude_level="1" siblings=1 alternative="no-output,output"]depth=1[/cmwizard]
It’s quite likely that this isn’t exactly what you meant, in which case I apologise for my misunderstanding, but I hope it helps…