The 'sitemap' functionality of the module provided by menutree_display() is buggy in that it does not display a fully-expanded version of the menu, as the function comment specifies. The function is a near-direct copy of menu_tree() that is meant to always output a menu item visible to the user, even if it is not in the breadcrumb or not expanded.

The problem is that menutree_display() calls theme('menu_tree') which in turn calls the original menu_tree() function, which does not display non-expanded menu subtrees.

-- telcontar

CommentFileSizeAuthor
#2 menutree-5.x-1.0.patch2.2 KBtelcontar

Comments

telcontar’s picture

Selected wrong branch, it does not seem to apply to the dev branch. Could you do a new non-development release with this bug fixed? :-)

-- telcontar

telcontar’s picture

Title: Sitemap does not display non-expanded subtrees » Menutree does not display non-expanded subtrees
Status: Active » Needs review
StatusFileSize
new2.2 KB

I'm posting my patch in case there's anyone else affected by this issue who doesn't want to use the development branch.

-- telcontar

Crell’s picture

Status: Needs review » Fixed

I just tagged a 1.1 release that has the bug fix in it. Please use that instead. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)