[imp] Parent and child menu items

Sn!per sniper at home.net.my
Fri Feb 29 00:22:10 UTC 2008


Quoting Otto Stolz <Otto.Stolz at uni-konstanz.de>:

> Hello Sn!per
> 
> you had written:
> > I  
> > wonder why the userid of the logged in person (  
> > $_SESSION['imp']['user'] ) does not appear. I just got blank.
> 
> Jan Schneider had written:
> > The registry is loaded before authentication.
> 
> you have written:
> > Can someone suggest a way around this? TIA.
> 
> You would probably have to get the user from the login form,
> something like
>    $this->applications['myaccount']
>    = array( 'fileroot' => '/tmp'
>           , 'icon'     => ''
>           , 'name'     => Util::getFormData('imapuser')
>           , 'status'   => 'heading'
>           )
>    // Just a wild guess, testing is up to you.
> 
> Good luck,
>    Otto Stolz
> 
> 
> 
> 


Thanks Otto. It works.

--
Roger


---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------


More information about the imp mailing list