I'm using OTRS 3.0.9
I wanted to add the "Spam" Link in the Ticket Menu so I activated it in the configuration. After saving (it's saved correctly), nothing shows up in the Menu. I also tried adding the other deactivated Link which is for deleting a ticket, it won't show either.
Here's what has been written to the ZZZAuto.pm:
Code: Select all
$Self->{'Ticket::Frontend::PreMenuModule'}->{'460-Spam'} = {
'Action' => 'AgentTicketMove',
'Description' => 'Mark as Spam!',
'Link' => 'Action=AgentTicketMove;TicketID=$Data{"TicketID"};DestQueue=SPAM',
'Module' => 'Kernel::Output::HTML::TicketMenuGeneric',
'Name' => 'Spam',
'Target' => ''
};
$Self->{'Ticket::Frontend::PreMenuModule'}->{'450-Delete'} = {
'Action' => 'AgentTicketMove',
'Description' => 'Delete this ticket!',
'Link' => 'Action=AgentTicketMove;TicketID=$Data{"TicketID"};DestQueue=Delete',
'Module' => 'Kernel::Output::HTML::TicketMenuGeneric',
'Name' => 'Delete',
'PopupType' => '',
'Target' => ''
};