how to add a menu link to the users activity stream
George2 - April 9, 2009 - 14:42
| Project: | Activity Stream |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
how do i add a menu link for the user to add details about their activity stream? i want to add such an item to the primary menu for the user, but because it's not implemented in hook_menu, only hook_user, i don't seem able to.
so, how else cann i do this?

#1
here's a patch that adds a menu item (to the navigation menu by default) that also checks for a permission of "use activitystream"
i've had to merge in the patch at http://drupal.org/files/issues/activitystream_access_0.patch for the hook_perm function.
however, this doesn't prevent users from seeing the activity stream setup on their settings page by default, so maybe the categories item should be moved from hook_user and into hook_menu to allow for a permission check?
#2
#3
There's a lot of stuff in there not related to this issue. Block setup, for instance. Can you clean this up?
#4
Closing. No response from original poster.