On 9/1/06, <b class="gmail_sendername">Neil Hoggarth</b> <<a href="mailto:neil.hoggarth@physiol.ox.ac.uk">neil.hoggarth@physiol.ox.ac.uk</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any way that I can change the web interface to indicate<br>ownership of jobs (and populate the change ownership drop-downs, etc)<br>using nicknames, real names or email addresses instead of (or as well<br>as) usernames?
<br></blockquote></div><br>Have a look at $RTROOT/html/Elements/SelectOwner<br>I'm not sure how the authentication affects this, but you should be able to change what's shown in the drop-down box by altering the text to suit your needs around:
<br><br> 46 <select name="<%$Name%>"><br> 47 %if ($DefaultValue) {<br> 48 <option <% !$Default ? "SELECTED" : '' %> value=""><%$DefaultLabel%></option>
<br> 49 %}<br> 50 %foreach my $User ( @users) {<br> 51 <option <% ($User->Id == $Default) ? "SELECTED" : ''%><br> 52 %if ($ValueAttribute eq 'id') {<br> 53 value="<%$User->id%>"
<br> 54 %} elsif ($ValueAttribute eq 'Name') {<br> 55 value="<%$User->Name%>"<br> 56 %}<br> 57 ><%$User->Name()%></option><br> 58 %}<br> 59 </select><br>
<br clear="all">Don't forget to place the file in $RTROOT/local/html/Elements instead of the normal html directory, and when you change the file, you'll need to restart apache for mason to clear it's cache and notice things have changed.
<br><br>With regards to the other locations the username is displayed, it depends which you want to change, but you'll be looking in:<br><br>html/Ticket/Elements/ShowUserEntry line 48<br>html/Ticket/Elements/ShowTransaction lines 57
<br><br>For an idea of what the other fields are called, have a look at the perldoc for RT::User, but as I say, I don't know how your external authentication affects things though.<br>You may also want to change the default fields showing when you search by looking at files in the html/Search/ directory
<br><br>You might also want to try experimenting with RT 3.6.1. It doesn't offer much in the way of new features, but it will be easier when it comes to upgrading to the 3.6 series for your users as they won't have to adjust to it's vastly different looks.
<br><br>Hope this helps,<br><br>-- <br>Regards,<br><br>Andrew Nicols<br>