Allows menu administrators to assign any path or pattern to set the active menu item.
The module can be used with PathAuto to select the active menu item by the selected content-type. For example, a press release with the url http://example.com/press-releases/2008/2008-01-10-big-news can be figured to always show the main 'Press Release' page (aka view) as active menu item.
Note:
| Name | Description |
|---|---|
| menu_helper_active_item_state_off | Restore $_GET[q] its orginal value. |
| menu_helper_active_item_state_on | Reset $_GET[q] to custom active path. |
| menu_helper_active_menu | Implementation of hook_menu(). |
| _menu_helper_active_get_active_path | Get active menu path for the current page. |
| _menu_helper_active_is_current_menu_item_a_menu_link | Check to see if the current menu (router) item is a menu link. |
| _menu_helper_active_is_current_path_a_menu_link | Check to see if the current path is a menu link. |
| _menu_helper_active_item_state | Set the active item state to use custom active path. |