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
<[email protected]> 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:[email protected]]
> Sent: Wednesday, January 27, 2010 12:24 AM
> To: Michael Neuschafer
> Cc: [email protected]
> Subject: Re: [rt-users] Make requester field blank on opening a ticket
>
> On Wed, Jan 27, 2010 at 2:22 AM, Michael Neuschafer
> <[email protected]> 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.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [email protected]
2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com