I figured it out. It may not be the “cleanest”, but it works…
I have an overlaid version of “Ticket/Elements/ShowRequestor”, below
are my modificaitons (in the order that they are in the file):
Change this:
next if $requestor->Privileged;
To this:
#next if $requestor->Privileged;
Change this:
title_href => $has_right_adminusers? RT->Config->Get(‘WebPath’).“/
Admin/Users/Modify.html?id=”.$requestor->id: undef,
To this:
title_href => RT->Config->Get(‘WebPath’).“/Admin/Users/Modify.html?
id=”.$requestor->id,
Add this:
<&|/l&>User Profile</&>:
% my $requestorP = RT::User->new($RT::SystemUser);
% $requestorP->Load($requestor->id);
% my @items = (
%# Change “etc” to whatever makes sense for your org.
% [“etc”, $requestorP->Organization],
% [“etc”, $requestorP->WorkPhone],
% [“etc”, $requestorP->City],
% [“etc”, $requestorP->Address2] );
% foreach my $item ( @items ) {
% if ( ${$item}[1] ne "" ) {
- <% ${$item}[0] %>: <% ${$item}[1] %>
% }
% }
Wherever you want in the profile (I do just before “<&|/l&>Groups this
user belongs to</&>”)
Thanks,
JohnathanOn Aug 6, 2009, at 2:01 PM, Jerrad Pierce wrote:
On Mon, Jul 27, 2009 at 08:57, Johnathan Belljohnathan.bell@baker.edu wrote:
Actually, no, the modify user page produces an error… the page
actually
doesn’t say anything, (except for the page footer text of “Time to
display:
x.xxxxxxx” and “RT 3.8.4 Copyright 1996-2009 Best Practical blah blah
blah”… the long itself says nothing either.
Apparently you also need ShowConfigTab
–
Cambridge Energy Alliance: Save money. Save the planet.
Johnathan Bell
Internet System Administrator, Baker College
Office Hours: 7A - 4P Eastern, M-F