[dev] comments on new menu system

Rick Emery rick at emery.homelinux.net
Sat Jan 18 09:54:28 PST 2003


Quoting Mike Cochrane <mike at graftonhall.co.nz>:

> None of use have got around to commiting a group example. An example header
> from
> my /config/registry.php looks like this:
> 
> $this->applications['development'] = array(
>     'status' => 'heading',
>     'icon' => $this->applications['horde']['webroot'] . '/graphics/dev.gif',
>     'name' => _("Development"),
> );
> 
> Then set menu_parent to 'development' for any apps you want in this group.

Thanks!

Another big benefit is that you can set 'icon' to a graphic that indicates
expandable menu, and you're set.

Rick


More information about the dev mailing list