[horde] Customizing Horde Menu
Jan Schneider
jan at horde.org
Sun Jun 22 22:38:23 UTC 2008
Zitat von Elliot Anders <elliot at marlboro.edu>:
> I'm trying to add some links to the Sidebar menu in Horde using registry.php.
> I've been following this example:
> http://wiki.horde.org/CustomizeMenu and have come up with the
> following, which works, but also adds links to the "Options" menu
> (bug?). As I'm just trying to link to offsite services this makes
> no sense. Is there a way to exclude that automatic inclusion?
> I'm using Horde Webmail 1.1
>
> // Custom Menus
> $this->applications['mc_custom'] = array(
> 'name' => _('External Links'),
> 'status' => 'heading',
> 'icon' => ''
> );
> $this->applications['mc_courses'] = array(
> 'webroot' => 'https://www.example.com,
> 'name' => _("Example Link"),
> 'status' => 'active',
> 'target' => '_parent',
> 'menu_parent' => 'mc_custom',
> 'icon' => ''
> );
Set a 'fileroot', even if it point to /tmp or /dev/null or whatnot.
The menu code is checking for config/prefs.php in the fileroot.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list