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?&TicketID=545803&TicketNumber=2063589
<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


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

Reply via email to