[rt-users] How to add requestor name in Templates?
Rick Russell
rickr at rice.edu
Thu Jun 1 16:55:42 EDT 2006
-----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-----
More information about the rt-users
mailing list