Needs review
Project:
Artists C01
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2008 at 05:04 UTC
Updated:
17 May 2008 at 05:59 UTC
Jump to comment: Most recent file
(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...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | template.php_.diff | 1013 bytes | ztyx |
Comments
Comment #1
ztyx commentedI wrote a function that removed all the hidden menu items. Attaching patch that resolves this issue but needs a review.