Add ability to show/hide the menu item, and change the title of the menu item for a pageroute
singularo - October 17, 2009 - 23:03
| Project: | Pageroute |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Jump to:
Description
I didn't want the menu item to show, so added the option of making it a MENU_CALLBACK, so its still usable, but has to be directed to manually.
The other alternative is to make the title friendly, rather than just using the url string, which I've done in this patch as well.
Patch attached.
| Attachment | Size |
|---|---|
| pageroute.patch | 3.43 KB |

#1
There are some issues in your patch:
# notice: Undefined index: hide_menu in /home/sebastian/work/projects/Pageroute/pageroute.module on line 62.# notice: Undefined property: stdClass::$menu_title in /home/sebastian/work/projects/Pageroute/pageroute.module on line 74
#2