Help with Cod Addition

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( 'SELECT QUEUE
’ );
$m->print( '
’ );
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( 'SELECT QUEUE
’ );
$m->print( '
’ );
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.comhttp://www.arcproductions.com

Looks like no code edit or addition is necessary in RT 4.0.10

Just created the **Select Queue queue, gave users rights and works like a charm.

If the New Ticket In button now without selecting the proper queue at least we know where to find that tickets.From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Raymond Corbett
Sent: Wednesday, March 06, 2013 9:48 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Help with Cod Addition

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( 'SELECT QUEUE
’ );
$m->print( '
’ );
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( 'SELECT QUEUE
’ );
$m->print( '
’ );
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.comhttp://www.arcproductions.com

Looks like no code edit or addition is necessary in RT 4.0.10

Just created the **Select Queue queue, gave users rights and works like a charm.

If the New Ticket In button now without selecting the proper queue at least we know where to
find that tickets.

I take it you didn’t read my reply to your earlier mail to the list?

-kevin

Sincerest applogie,

I just found it. Mail filtered it from some reason under some new filter schemes and I missed it.

Thanks. You guys are all great.-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Wednesday, March 06, 2013 11:25 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Help with Cod Addition

On Wed, Mar 06, 2013 at 03:33:46PM +0000, Raymond Corbett wrote:

Looks like no code edit or addition is necessary in RT 4.0.10

Just created the **Select Queue queue, gave users rights and works like a charm.

If the New Ticket In button now without selecting the proper queue at least we know where to
find that tickets.

I take it you didn’t read my reply to your earlier mail to the list?

-kevin