[rt-users] Help with Cod Addition

Raymond Corbett Raymond.Corbett at arcproductions.com
Wed Mar 6 09:47:49 EST 2013


I found this post in regards to RT3

I want to use it in RT 4.0.10   but just a bit afraid of breaking things.  So could someone verify what I am going to try is correct?

Original post:

One way to solve this is to create a "dummy" queue caled **SELECT QUEUE
(it will appear at the top of your list) - at least the post will not go to a wrong queue.

We have edited: /opt/rt3/var/mason_data/obj/standard/Elements/SelectNewTicketQueue

<...>
#line 26 /opt/rt3/share/html/Elements/SelectNewTicketQueue
#
# Add Label to Queue Drop Down Menu
#
$m->print( '<OPTION VALUE="0">SELECT QUEUE
' );
$m->print( '</OPTION>
' );
foreach my $queue (@{$session{'create_in_queues'}}) {
$m->print( '<OPTION VALUE="' );
<...>

You should probably make that change in your "local" area
(/opt/rt3/local/html/Elements/SelectNewTicketQueue for RedHat). That's
the recommended place to make local customizations, that won't get
overwritten by future updates, nor lost when the cache is cleared.

I am correct in assuming that I should:

Create a directory     /opt/rt4/local/html/Elements     and then create the following file and call it  SelectNewTicketQueue
Or do I need to copy the original file over to here and add this code to the existing code?

<...>
# Add Label to Queue Drop Down Menu
#
$m->print( '<OPTION VALUE="0">SELECT QUEUE
' );
$m->print( '</OPTION>
' );
foreach my $queue (@{$session{'create_in_queues'}}) {
$m->print( '<OPTION VALUE="' );
<...>



[ARC]<http://www.arcproductions.com/>

Ray Corbett  Technology Projects Manager

p: 416.682.5200 x5232  | f: 416.682.5209
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4
www.arcproductions.com<http://www.arcproductions.com>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130306/ce15c0e5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4654 bytes
Desc: image001.gif
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130306/ce15c0e5/attachment.gif>


More information about the rt-users mailing list