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"}&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?&TicketID=545803&TicketNumber=2063589
Is it possible to ignore the base url that is put at the beginning of the url
Ciao
AleX