[imp] imp 5 and menu.php
Michael M Slusarz
slusarz at horde.org
Tue Apr 12 07:04:38 UTC 2011
Quoting LALOT Dominique <dom.lalot at gmail.com>:
> 1.
> How do I convert my dimp menu.php to new version of horde?
>
> 'répondeur' => array(
> 'action' => 'DimpBase.go("app:sos","/horde/ingo/vacation.php")',
> 'text' => _("répondeur"),
> 'icon' => $GLOBALS['registry']->getImageDir('ingo') .
> '/vacation.png'),
>
> the API has completely changed and I found no documentation for that. What
> should we use now?
You need to either write your own javascript handler to handle your
menu items or hack the template.
The old menu.php javascript action was tremendously hackish and was
removed for this reason.
> 2.
> I added compenents to imp menu using $conf[menu][apps_iframe] = true in
> conf.php
> What is strange: ingo mnemo are OK, but kronolith has a direct link without
> ajax. So the sidebar disappear when I click on kronolith link.
This is expected.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list