[rt-users] add requestor name in Templates [Resolved]

Anne Fradin Anne.Fradin at gipsa-lab.grenoble-inp.fr
Tue Oct 20 05:10:21 EDT 2009


Kevin Falcone a écrit :
> On Mon, Oct 19, 2009 at 11:04:18AM +0200, Anne Fradin wrote:
>   
>> Hi,
>> I'm using RT 3.8.4 on Debian Lenny 
>>
>> I would like to add the requestor name in my autoreply template
>>
>> When I try to add : 
>> 	{$Ticket->Requestors->UsersObj->First->RealName}
>> the scrips isn't executed
>>     
>
> You should have errors in your log
> And you probably just want $Requestor->RealName,
> check docs/templates.pod in the tarball for the variables that are
> set in a template.
>
> -kevin
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
Hi,
with {$Requestor->RealName } i've got this error :
         Template parsing error: Can't locate object method "RealName" 
via package "chaberto" (perhaps you forgot to load "chaberto"?)
I find the good variables in Template_Overlay.pm :
{$Ticket->Requestors->UserMembersObj->First->RealName}

Thanks for your help

Anne

-- 
Anne Fradin
Administration Systèmes et Réseaux
GIPSA-lab - UMR5216
961, Rue de la Houille Blanche - BP 46
38402 Saint Martin d'Hères
Tél : 04.76.82.62.56 - Bureau B218
mailto:anne.fradin at gipsa-lab.grenoble-inp.fr




More information about the rt-users mailing list