[rt-users] How to add requestor name in Templates?
Kenneth Crocker
KFCrocker at lbl.gov
Thu Jun 1 19:17:07 EDT 2006
Rick Russell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Tomasz Wlodek wrote:
>
>
>> But Now I would like to see requestors real name. How do I do this?
>>
>> This must be a very simple, some line
>>
>> Requestor name - {$Ticket->....}
>>
>
> Requestor name - {$Ticket->Requestors->UsersObj->First->RealName}
>
> If there is more than one requestor, you'll need to write a routine to
> go through them, probably using the $Ticket->Requestors->UsersObj->Next
> method in a loop.
>
>
>> I can't find description in the book, nor on the wiki.
>>
>
> It would be nice (HINT HINT) if RT Essentials included a reference list
> of the common object methods, the objects to which they apply, and a
> simple example of each one in use :-)
>
> Sure, an exhaustive list would require a hundred pages, but you could
> hit 90% of the objects and methods that somebody is likely to use in a
> couple of dozen pages.
>
> Rick R.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEf1ROXIxWysfLtmkRAlrMAJ4wZRpuknciGKRq1cMpYoL/FgNmDwCfUEQo
> 0GdCXSpb81Jzz5UmYh2Bulc=
> =66k1
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>
>
HERE! HERE!
More information about the rt-users
mailing list