[horde] IMP 5 target in menu

Michael M Slusarz slusarz at horde.org
Wed Feb 8 05:48:01 UTC 2012


Quoting Gerard Breiner <gerard.breiner at ias.u-psud.fr>:

> Le 01/02/2012 21:10, Michael M Slusarz a écrit :
>> Quoting Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
>>
>>> Hello,
>>>
>>> I want to use "target" In imp/config/menu.php so that to open a  
>>> new window (or tab) when the link define by 'url' is clicked.
>>> Here is what I've done but unsuccessfull...
>>>
>>> 'glop' => array(
>>>           'url' => 'external link',
>>>           'target' => '_blank',
>>>           'text' => 'GLOP',
>>>           'icon' => ' ')
>>
>> Are you sure a window with the target '_blank' doesn't already  
>> exist?  You might want to select a more unique target name.
>>
>> michael
>>
>> ___________________________________
>> Michael Slusarz [slusarz at horde.org]
>>
> Hello Michael,
>
> It seems that "$target" variable defined in the Horde_Menu class is  
> not  used in IMP_Menu_Dimp class (imp/lib/Menu/Dimp.php)... So I  
> added it ....

The dynamic view does not support the target element (since menu links  
are handled by javascript code that is hard-wired).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list