Actually, in this case there's a callback for extending the Tabs -
you shouldn't even need to edit the Tabs file. If you create
/opt/rt3/local/html/Callbacks/xxxxx/Ticket/Elements/Tabs/Default and
make it look like this, you should be all set:
%# BEGIN CODE
<%args>
$Ticket => undef
$actions => undef
$tabs => undef
$display_page => 'Display'
</%args>
<%init>
if ( defined $Ticket && $Ticket->CurrentUserHasRight('DeleteTicket')
) {
$actions->{'G'} = {
title => loc('Spam'),
path =>
'Ticket/Modify.html?id='.$Ticket->id.'&Status=deleted' };
}
</%init>
%# END CODE
I changed
path => 'Ticket/Modify.html?id='.$Ticket->id.'&Status=deleted' };
to
path =>
'Ticket/Modify.html?id='.$Ticket->id.'&Status=deleted&Queue=16' };
and restarted Apache. The change has not taken effect. I even deleted
all of my browser's cache just to be sure. What else should I do to
make this change take effect?
--
Bernd
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com