[rt-users] Customising Ticket Display

Lee W rt-list at unassemble.co.uk
Thu Feb 24 16:19:03 EST 2005


Lee W wrote:

> Hi,
> <snip>
>
> Is it possible to customise the Display Ticket screen so that it can 
> display the telephone number of the requestor when someone views the 
> ticket. I've tried reading thought previous posts to figure this out 
> but i'm completely lost.
>
Okay, I've tried editing the html/Ticket/Elements/ShowGroupMembers so 
that it is as follows:-

% my $UserMembers = $Group->UserMembersObj;
% while (my $member = $UserMembers->Next()) {
<& ShowUserEntry, User => $member &><br>
% }
% my $GroupMembers = $Group->MembersObj;
% $GroupMembers->LimitToGroups();
% while (my $member = $GroupMembers->Next()) {
<&|/l&>Group</&>: <%$member->MemberObj->Object->Name%> 
(<%$member->MemberObj->Object->Organization%>)<br>
% }

<%ARGS>
$Group => undef
</%ARGS>

The bit I've editing is where it has 
(<%$member->MemberObj->Object->Organization%>) which I thought would 
have included the Organization in brackets after the name.  However it 
doesn't show up I just get the original page, nor do I get any errors in 
the webpage or Apache error.log. I've also restarted the webserver a 
number of times to make sure.

does RT store a cache of pre-created pages anyway.  I delete the content 
of the mason_data/cache and obj/ folders but this has also not helped.

Any help would be appreciated.

Regards

Lee




More information about the rt-users mailing list