[rt-users] Make requester field blank on opening a ticket

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Jan 28 13:43:03 EST 2010


Just replace line

<& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default
=> $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>

with

<& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default
=> $ARGS{Requestors} &>

Clean mason cache, restart server. I think this is the easiest way to
handle this.

On Wed, Jan 27, 2010 at 9:01 PM, Michael Neuschafer
<mneuschafer at nationalstoresinc.com> wrote:
> What's the best way to modify the script without breaking anything?  I just want the requester to show blank and not the current users email addy.
>
> Thanks,
> --------------------------------------------------------
>
> <tr>
> <td class="label">
> <&|/l&>Requestors</&>:
> </td>
> <td class="value" colspan="5">
> <& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default => $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>
> </td>
> </tr>
> --------------------------------------------------------
>
> Michael Neuschafer
> PC Support Specialist
> National Stores Inc.
> (310) 436 - 2150
>
> -----Original Message-----
> From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com]
> Sent: Wednesday, January 27, 2010 12:24 AM
> To: Michael Neuschafer
> Cc: RT-Users at lists.bestpractical.com
> Subject: Re: [rt-users] Make requester field blank on opening a ticket
>
> On Wed, Jan 27, 2010 at 2:22 AM, Michael Neuschafer
> <mneuschafer at nationalstoresinc.com> wrote:
>> Is there a way to make requester field blank on opening a ticket.  When I go
>> and create a ticket my email addy is in the requester field.
>
> Hello, Mechael.
>
> With a tiny hack in share/html/Create.html, grep for Requestors. I
> think it's abvious what you should delete there.
>
>> Thanks,
>
> --
> Best regards, Ruslan.
>
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list