It would be really handy if we could restrict the menu tree returned by bamboo_render_menu to the active trail so we can print a sub-section of the menu relative to current page being viewed.

I suggest adding add additional optional parameter, $active, which defaults to FALSE to the bamboo_render_menu function.

Comments

rattusrattus created an issue. See original summary.

rattusrattus’s picture

Issue summary: View changes
rattusrattus’s picture

StatusFileSize
new1.83 KB
wengerk’s picture

Thanks for your amazing contrib !!

May you also add a code coverage tests for the new feature ?
Do you need some help to add it ?

Thanks again for your contribution.