Include system menu items for views?
mradcliffe - August 27, 2008 - 16:49
| Project: | footermap: a footer site map |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | mradcliffe |
| Status: | patch (to be ported) |
Jump to:
Description
Views and other menu items are not displayed because they are added in menu_links as "system" items.
Possibly have to expand the query to include {menu_router}, and then in php do some sort of menu_permissions thing based off of the lowest role configured.

#1
Or maybe just tell people to create real menu items instead of creating them from views.
#2
It looks like this was discussed a bit at Drupalcon Europe 2008.
Looking through views code it looks like everything would need a complete overhaul. menu_link_save() would need to be used instead of saving things by hook_menu_alter() (this is the real culprit).
#3
I added a setting to use system menus. This isn't really a solution, but there's no solution as long as there's a bug in hook_menu_alter().