[imp] Parent and child menu items

Otto Stolz Otto.Stolz at uni-konstanz.de
Thu Feb 28 16:12:34 UTC 2008


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





More information about the imp mailing list