Alex Mihicinac wrote:
Hi all,
I've managed to add custom icons to naviBar. What i need to do, that
<a> tag would appear correct? In my case, I always get some URL prefix
from OTRS because I'd like to point URL outside the OTRS system.
TIA,
Alex
_______________________________________________
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
I've done it like this for linking to an external time registration system:
Added navigation item in Config.pm:
# Time registration link
$Self->{'Ticket::Frontend::MenuModule'}->{'460-Register'} = {
Module => 'Kernel::Output::HTML::TicketMenuRedirect',
Name => 'Register',
Action => 'Register',
Description => 'Register time used on ticket',
};
I then created a menu module (copied TicketMenuGeneric.pm to
TicketMenuRedirect.pm), and added this listener in the module:
if ($Self->{Subaction} eq "Register") {
print $Self->{LayoutObject}->Redirect(
ExtURL => "http://xxxx.com/?externalaction=$Self->{TicketID}",
);
}
I think something similar can be done for navigation items....
_______________________________________________
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