Custom TicketMenu Module for custom link in ticket zoom

I'm trying to create a custome Ticket Menu module that open another web application passing ticket information: TicketID and Ticket Number I've created a new module in /Output/HML TicketModuleChiamate.pm as mentioned in http://doc.otrs.org/developer/2.2/en/html/x533.html#ticket-module-menu with declaration of the package package Kernel::Output::HTML::TicketMenuChiamate; and registered the module in Config.pm # for ticket recording menu $Self->{'Ticket::Frontend::MenuModule'}->{'900-Chiamate'} = { 'Action' => 'AgentTicketChiamate', 'Module' => 'Kernel::Output::HTML::TicketMenuChiamate', 'Name' => 'Chiamate' }; What I'd like to do is open a new web page with an url I've changed the code to do $Self->{LayoutObject}->Block( Name => 'MenuItem', Data => { %{$Param{Config}}, %Param, Name => 'Chiamate', Description => 'Apri una chiamata Supporto!', Link => 'http://chiamate.osi.lan/default.aspx?&TicketID=$QData{"TicketID"}&TicketN umber=$QData{"TicketNumber"}', }, ); but when I click on the link I'm redirected to http://otrsDNSname/otrs/index.pl?http://chiamate.osi.lan/default.aspx?&Tic ketID=545803&TicketNumber=2063589 Is it possible to ignore the base url that is put at the beginning of the url Ciao AleX

Hi Alessio, Did you find a way to accomplish this please ? I'm trying to do the same thing at the moment without success, I have the same behavior that you described : precising an http link within Link parameter leads to relative URL construction ... I can't find any documentation about this Link parameter, what does it accept or is there another parameter to add so the URL in Link would not be relative ? Anyone having some informations or any ideas is welcome ! BR, Laurent MINOST Le 17/04/2008 14:19, Alessio Tosi a écrit :
I'm trying to create a custome Ticket Menu module that open another web application passing ticket information: TicketID and Ticket Number
I've created a new module in /Output/HML TicketModuleChiamate.pm as mentioned in http://doc.otrs.org/developer/2.2/en/html/x533.html#ticket-module-menu
with declaration of the package package Kernel::Output::HTML::TicketMenuChiamate;
and registered the module in Config.pm # for ticket recording menu $Self->{'Ticket::Frontend::MenuModule'}->{'900-Chiamate'} = { 'Action' => 'AgentTicketChiamate', 'Module' => 'Kernel::Output::HTML::TicketMenuChiamate', 'Name' => 'Chiamate' };
What I'd like to do is open a new web page with an url I've changed the code to do $Self->{LayoutObject}->Block( Name => 'MenuItem', Data => { %{$Param{Config}}, %Param, Name => 'Chiamate', Description => 'Apri una chiamata Supporto!', Link => 'http://chiamate.osi.lan/default.aspx?&TicketID=$QData http://chiamate.osi.lan/default.aspx?&TicketID=$QData{"TicketID"}&TicketNumber=$QData{"TicketNumber"}', }, );
but when I click on the link I'm redirected to http://otrsDNSname/otrs/index.pl?http://chiamate.osi.lan/default.aspx?&Ticke... http://otrsDNSname/otrs/index.pl?http://chiamate.osi.lan/default.aspx?&Ticke...
Is it possible to ignore the base url that is put at the beginning of the url
Ciao AleX
participants (2)
-
Alessio Tosi
-
Laurent Minost