(At least) when using suckerfish, menu items that are marked as hidden are still shown.

This is due to the fact that menu_tree_all_data(...) is called (in template.php:43) which does not filter out hidden menu items.

I tried to find an alternative to the function menu_tree_all_data(...) which does filter so that I could apply a patch, but I'm unfortunately new to the Drupal code base. Is there a prewritten function that filter out hidden menu items or will this have to be added in template.php:phptemplate_preprocess_page(...)? I hope not...

CommentFileSizeAuthor
#1 template.php_.diff1013 bytesztyx

Comments

ztyx’s picture

Status: Active » Needs review
StatusFileSize
new1013 bytes

I wrote a function that removed all the hidden menu items. Attaching patch that resolves this issue but needs a review.