Quoting Patrick Boutilier <[EMAIL PROTECTED]>:

> Edit horde/config/registry.php . Something like:
> 
> $this->applications['myaccount'] = array(
>      'name' => _("My Account"),
>      'status' => 'heading',
> );
> 
> $this->applications['changepass'] = array(
>      'fileroot' => 'path to app',
>      'webroot' => 'path to app',
>      'icon' => $this->applications['horde']['webroot'] . 
> '/themes/graphics/website.png',
>      'name' => _("Change password"),
>      'status' => 'active',
>      'menu_parent' => 'myaccount'
> );
> 

Thanks Patrick. I got the idea. The menu are working. However I wonder why the 
userid of the logged in person ( $_SESSION['imp']['user'] ) does not appear. I 
just got blank. Code as below:

$this->applications['myaccount'] = array(
    'fileroot' => '/tmp',
    'icon' => '',
    'name' => $_SESSION['imp']['user'],
    'status' => 'heading',
 );

$this->applications['changepass'] = array(
    'fileroot' => '/tmp',
    'webroot' => 'http://user.example.com',
    'initial_page' => 'cpasswd.php',
    'icon' => '',
    'name' => _("Change Password"),
    'status' => 'active',
    'menu_parent' => 'myaccount'
);

$this->applications['changesecretq'] = array(
    'fileroot' => '/tmp',
    'webroot' => 'http://user.example',
    'initial_page' => 'csecretq.php',
    'icon' => '',
    'name' => _("Secret Question"),
    'status' => 'active',
    'menu_parent' => 'myaccount'
);

$this->applications['changeprofile'] = array(
    'fileroot' => '/tmp',
    'webroot' => 'http://user.example.com',
    'initial_page' => 'cprofile.php',
    'icon' => '',
    'name' => _("Update Profile"),
    'status' => 'active',
    'menu_parent' => 'myaccount'
);

Please help. TIA.


--
Roger


---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------
-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to