Closed (won't fix)
Project:
Privatemsg
Version:
5.x-1.8
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
21 Feb 2008 at 21:24 UTC
Updated:
5 May 2010 at 07:44 UTC
Is there a way to move the My Inbox + number of messages to a different location, other than navigation?
When I go into site configuration/menu it seems like the Menu completely disappears, only to return once I leave to menu screen.
I am sorry if this is a duplicate issue.
Comments
Comment #1
MikeMoirano commentedanything?
Comment #2
jaydub commentedThe menu item for the Inbox is a dynamic menu item. This is why you don't see it when you are on the
menu screen as that only deals with cacheable menu items (I believe).
http://api.drupal.org/api/function/hook_menu/5
The menu entry for the Inbox is of type MENU_DYNAMIC_ITEM which in the above
API page says:
Dynamic menu items change frequently, and so should not be stored in the database for administrative customization.
So there you go...Here is a snippet that you could use in your template.php file to add it. In my
case I have created a google-like user links block at the top right of my page and this snippet
creates the Inbox entry pretty much as it looks in the default privatemsg menu entry.
Comment #3
bflora commentedDude, what do I do with this? YOu left out any explanation of how to get this to actually show on my site? Is this a standalone function? Do I put this in php_variables? Do I call this? Do I have to cycle through the $links array? What's the final step?
Comment #4
sonden commentedHello,
I asked myself the same question whether its possible to move the private message section. I tried the above code snippet in both, the template.php and the block but it does nothing...
I try to integrate the private messages as tab on the my account section, but so far couldn't succeed. Any help would be highly appreciated.
Comment #5
litwol commentedTODO: make privatemsg navigation menu as a block.
Comment #6
berdirSorry for pinging the participants, I am closing old issues.
This version of Privatemsg is not supported anymore, maybe it is already implemented in Privatemsg for Drupal 6 and if not, you are welcome to open a new issue for it.