I'm trying to use the menu view helper, so far it works well but I am struggling to get the setOnlyActiveBranch(true) to act as expected.
It works fine when a page has sub pages. i.e. only that branch is returned giving me a compact menu: Main 1 - Sub 1 - Sub 2 However if the active branch doesn't have any sub pages then it just returns the root nodes of the whole menu. Main 1 Main 2 Main 3 This is a problem because I am displaying the section the user is in above the main categories. Therefore when this happens you end up with two complete menus! Am I missing a setting or is this a bug can any one confirm? Setting min and max depth doesn't have the desired effect either. Thanks Simon -- View this message in context: http://n4.nabble.com/Zend-Navigation-Menu-View-Helper-tp1677302p1677302.html Sent from the Zend Framework mailing list archive at Nabble.com.
