[horde] Link in Dimp menu give "Chargement... " and nothing else.
Gerard Breiner
gerard.breiner at ias.u-psud.fr
Fri Mar 21 14:02:38 UTC 2008
Gerard Breiner a écrit :
> Gerard Breiner a écrit :
>
>> Gerard Breiner a écrit :
>>
>>
>>> Hello,
>>>
>>> I configured dimp/config/menu.php for an external application.
>>> Here is what I've done :
>>>
>>> ---------------------------------------------
>>>
>>> 'gedeon' => array(
>>> 'action' => ' https://gedeon-informatique.ias.u-psud.fr',
>>> 'text' => 'Gedeon informatique',
>>> 'icon' => '../../themes/ias/mec.gif')
>>> );
>>> ------------------------------------
>>>
>>> The link 'Gedeon informatique' is created in Dimp menu but left-click
>>> give the message "Chargement ..." and nothing happens.
>>>
>>> An idea please ?
>>>
>>> Thanks in advance.
>>>
>>> Gerard
>>>
>>>
>>>
>>>
>> I read 'action' require javascript function. So I tried :
>> --------------------
>> 'action' =>'DimpCore.go("app:gedeon-informatique", "' .
>> Horde::url($GLOBALS['registry']->get('webroot', 'gedeon-informatique') .
>> '/', true) . '")'
>> --------------------
>> I get :
>>
>>
>> Not Found
>>
>> The requested URL /imp/https://gedeon-informatique.ias.u-psud.fr/ was
>> not found on this server.
>> ------------------------------
>>
>> I guest that 'webroot' is the webroot I defined in the statement
>> 'gedeon-informatique' in /horde/config/registry.php.
>> Nevertheless, because IMP is parent of Dimp my url has the /imp/ . How
>> can I get rid of this /imp/ ?
>>
>> Thanks in advance
>>
>> Gerard
>>
>>
>>
>>
>>
>>
> In horde/config/registry.php
> I tried to put 'webroot' =>
> '../https://gedeon-informatique.ias.u-psud.fr', so I get rid of the /imp
> but I still have the leading '/' so the url is not found. An idea please ?
>
> Gerard
>
>
I found out !
'action' =>'DimpCore.go("app:gedeon-informatique",
"http://gedeon-informatique.ias.u-psud.fr")'
--
Université Paris-Sud 11
Institut D'Astrophysique Spatiale
Gérard Breiner
Rue Georges Clémenceau
fr-91405 Orsay-ville
More information about the horde
mailing list