Hi Mark,
On Tue, Feb 18, 2003 at 09:14:54AM +0100, Mark N. wrote:
> Would it be possible to make a button/link (next to the Lock, Zoom,
> Close, etc. buttons) in the Queue view, that would move a ticket to the
> Junk queue (or maybe delete it)? We get a lot of spam in some of our
> queues and it takes time to close all those tickets :(
>
> Any better ideas?
Yes, you could do this:
a) add a delete queue (and memorize the queue_id)
b) add a "delete" link to the dtl-template, e. g.
Kernel/Output/HTML/Standard/TicketView.dtl
[...]
<a href="$Env{"Baselink"}Action=AgentMove&TicketID=$Data{"TicketID"}&DestQueueID=1"
onmouseover="window.status='$Text{"Zoom"}'; return true;"
onmouseout="window.status='';">$Text{"Delete"}</a> -
[...]
replace the DestQueueID=x param with your delete queue_id
c) Let do the delete (or maybe just a simple close) jobs the GenericAgent.pl every
20 minutes (http://otrs.org/pages/index.pl?Action=Ext&Site=Docu/generic-agent.html)
-=> Then you need just one click for spam tickets! ,-)
> Mark Nellemann
> Happy OTRS User
:))
Martin
--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
"Security is a process, not a product." - Bruce Schneier
_______________________________________________
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