hello,
i am trying to create a notification settings menu item outside the user's profile settings, but am not sure of the correct path to use.
i have tried: user/$user->uid/notify
and user/uid/notify
but both return a 403 error.
what is the correct path to use, please?
Comments
Comment #1
mdowsett commentedsubscribing
Comment #2
gracearoha commentedAlthough i generally don't like to hack code, here's what i did for now:
in the code below, i added the 'pid' line where pid= the id# of the parent menu item under which i wanted to place "my notification settings"
in the line below that, i changed type from "MENU_LOCAL_TASK" to "MENU DYNAMIC ITEM"
Comment #3
matt2000 commentedThe correct way to do this is to implement hook_menu_alter in a custom module.