[horde] Horde 4.0-Git IMP 5.0 DIMP customized menu javascript do not works
Gerard Breiner
gerard.breiner at ias.u-psud.fr
Fri Nov 5 09:26:34 UTC 2010
Hello,
Do I understand that nobody has encountered this problem with Horde
4.0-Git and therefore it comes from my settings ?
I have another server Horde 3.2.2-cvs Dimp H3 (1.1-cvs) on a CentOS and
the customized menu works very fine.
What tests I can do for debugged this please ?
Thanks in advance for any help
Best regards
Gerard Breiner
Gerard Breiner a écrit :
> Hello
>
> Horde 4.0-git IMP 5.0 on Debian Lenny
>
> I added some items in imp/config/menu.php but the javascript code
> seems do not work. I mean when I click on the link of the item I added
> nothing happens. Neverttheless, I checked that javascript worked on my
> server.
>
> Code Source in the navigator (firefox)
> [code]
> <script type="text/javascript">//<![CDATA[
> Event.observe(window, "load", function()
> {DimpCore.clickObserveHandler({ d: $('menuhello'), f: function() {
> alert("Hello World!") } });DimpCore.clickObserveHandler({ d:
> $('tabhello'), f: function() { alert("Hello World!") } });
> //]]></script>
> [/code]
>
> and here is my code in imp/config/menu.php
>
> [code]
> $site_menu = array(
> 'hello' => array(
> 'action' => 'alert("Hello World!")',
> 'text' => 'Say Hi!',
> 'icon' => $GLOBALS['registry']->get('webroot', 'horde') .
> '/themes/graphics/horde.png')
> )
> [/code]
>
> Thanks in advance for any help
>
> Best regards
>
> Gerard Breiner
> Institut D'Astrophysique Spatiale
> Orsay campus
> France
>
>
>
More information about the horde
mailing list