[imp] Adding items to the menu that: Sub menu and who logged in

Eric Robbins erobbins at westusa.com
Wed Mar 12 15:18:49 PST 2003


Hello,

How do I recognize the user who logs in?  I tried the following code and it
does not work inside Menu.inc:

$_menu[] = array(
	'url' => 'http://www.someurl.com/user=echo($imp->user)'
	'text' =>
	'target' => '_blank'
	'onclick' => ''
);

When I view my IMP email program in the browser the link comes up as
http://www.someurl.com/user=echo($imp->user)
Not parsing the user variable from the session.
Any ideas on how I can concatenate the user who logged in into a url in the
menu.inc file?

Second question.  What file do I customize and how do I add a sub menu to
the main menu.  For instance when I click on the password or the address
book link, it creates a new menu, replacing the old one with one link back
to the inbox next to links specific to the new page.  I want to give my
users an option to different folders that have intra office related stuff
with a new menu appearing instead of having to add all of my new items to
the menu.inc.  It causes my page to scroll left and right if I add new
options to that part of the menu.

Thanks.




More information about the imp mailing list