[imp] Adding items to the menu that: Sub menu
Eric Rostetter
eric.rostetter at physics.utexas.edu
Thu Mar 13 14:44:56 PST 2003
Quoting Eric Robbins <erobbins at westusa.com>:
> As for second question..
>
> When you add the Turba part of IMP it puts in the Address book link on the
> top in the menu.
> When you click on the Address book link, it replaces the entire Link bar
> with a new set of links. So, I know it is loading a new array of links
> associated with the Address book. The only common link it retains is a link
> back to the inbox, at the very end of the links.
You can specify other Horde applications to include in this menu bar via
the $conf['menu']['apps'] setting in the config/conf.php files.
> My question is, how would I modify the code so that when I clicked to a
> specified link I create in the menu.inc (custom links are added in that
> file) it loads up my new array of links?
First, are you sure you can't use the supported method of using
$conf['menu']['apps'] instead? If they are horde apps, just add them
to the array. If they are your own projects for horde, make them horde
modules, register them in horde/config/registry.php and then include
them in the apps array.
If none of the above is possible, then I guess you can just edit the
menu.php file as you say.
When you call your new app, you need to include its own menu.php to create
its own menu. I think that is the answer to your question.
> I hope that is a bit more clear.. as it is really hard to describe it
> without showing how it works. FYI I am using IMP 3.2. Thanks!
Just specify more details (what menu items you are adding, why, etc)
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the imp
mailing list