opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dev@otrs.org 26 August 2010 • 6:53PM -0400

[dev] Menu Link to an external URL
by Laurent Minost

REPLY TO AUTHOR
 
REPLY TO GROUP



Hi,

I added a new menu link by following example in OTRS dev documentation,
this menu is now working and I have an associated
TicketMenuAddBugzilla.pm module and dtl template associated.

My question is :


Is it possible that the link displayed in the OTRS Menu bar leads to an
external URL, not relative one ?


...
    $Self->{LayoutObject}->Block(
     Name => 'MenuItem',
     Data => {
         %{$Param{Config}},
         %{$Param{Ticket}},
         %Param,
         Name => 'Script',
         Description => 'Something bla bla bla!',
         Link => 'Action=AgentFAQ&ItemID=$QData{"ServiceID"}',
     },
     );
...

It seems that the Link parameter will use the value to add it to the
"Base OTRS URL" but in case we want an external link it's not what we
are waiting for.

Thanks in advance,

BR,

Laurent MINOST
---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.