Hi all,
I’d like to know if I can get the nice little “More About” window to
show up for my users. I imported them from LDAP and they’re all
privileged, but because of that right, it seems I don’t get that nice
little feature
Is there a clean way I can enable that for them?
Many thanks
Helmuth
Hi all,
I’d like to know if I can get the nice little “More About” window to
show up for my users. I imported them from LDAP and they’re all
privileged, but because of that right, it seems I don’t get that nice
little feature
Is there a clean way I can enable that for them?
Sure - in /path/to/your/rt/share/html/Ticket/Elements/ShowRequestor,
remove the lines:
65: % unless ($requestor->Privileged) {
84: %}
Then, you’ll get this for all users, not just Unprivileged. The even
“cleaner” way to do this would be to make a copy of the same file, put
it in the “local” heirarchy, then make your changes there. See
Request Tracker Wiki for details
on using ‘local’.
Eric Schultz
United Online
Thanks for the fast response!!
I tried that…and it didn’t like it when I refreshed the page I
commented out the first and last line of my excerpt below. I OBVIOUSLY
did something wrong, any additional help would be really appreciated.
Here is an excerpt for that part of my ShowRequestor file
% unless ($requestor->Privileged) {
<&| /Widgets/TitleBox, title_href => $has_right_adminusers ?
“$RT::WebPath/Admin/Users/Modify.html?id=”.$requestor->id : undef,
title=> loc(“More about [_1]”, $name) &>
%# Additional information about this user. Empty by default.
<& /Elements/Callback, _CallbackName => ‘AboutThisUser’, requestor =>
$requestor, %ARGS &>
<&|/l&>Comments about this user</&>:
<% ($requestor->Comments || loc(“No comment entered about this
user”)) %>
<&|/l, $rows &>This user’s [_1] highest priority tickets</&>:
%while (my $w=$tickets->Next) {
- <%$w->Id%>:
<%$w->Subject%> (<%$w->Status%>)
%}-----Original Message-----
From: Schultz, Eric [mailto:ESchultz@corp.untd.com]
Sent: Friday, July 28, 2006 1:28 PM
To: Helmuth Ramirez; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
Hi all,
I’d like to know if I can get the nice little “More About” window to
show up for my users. I imported them from LDAP and they’re all
privileged, but because of that right, it seems I don’t get that nice
little feature
Is there a clean way I can enable that for them?
Sure - in /path/to/your/rt/share/html/Ticket/Elements/ShowRequestor,
remove the lines:
65: % unless ($requestor->Privileged) {
84: %}
Then, you’ll get this for all users, not just Unprivileged. The even
“cleaner” way to do this would be to make a copy of the same file, put
it in the “local” heirarchy, then make your changes there. See
Request Tracker Wiki for details
on using ‘local’.
Eric Schultz
United Online
Did you stop/start your webserver as the CleanlyCustomizeRT document
says to do?
Eric Schultz
United Online
Yes
It was after the restart that the changes took effect (broke).From: Schultz, Eric [mailto:ESchultz@corp.untd.com]
Sent: Friday, July 28, 2006 3:26 PM
To: Helmuth Ramirez; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
Did you stop/start your webserver as the CleanlyCustomizeRT document
says to do?
Eric Schultz
United Online
Thanks for the fast response!!
I tried that…and it didn’t like it when I refreshed the page I
commented out the first and last line of my excerpt below. I
OBVIOUSLY
did something wrong, any additional help would be really appreciated.
Here is an excerpt for that part of my ShowRequestor file
% unless ($requestor->Privileged) {
<&| /Widgets/TitleBox, title_href => $has_right_adminusers ?
“$RT::WebPath/Admin/Users/Modify.html?id=”.$requestor->id : undef,
title=> loc(“More about [_1]”, $name) &>
%# Additional information about this user. Empty by default.
<& /Elements/Callback, _CallbackName => ‘AboutThisUser’, requestor =>
$requestor, %ARGS &>
<&|/l&>Comments about this user</&>:
<% ($requestor->Comments || loc(“No comment entered about this
user”)) %>
<&|/l, $rows &>This user’s [_1] highest priority tickets</&>:
%while (my $w=$tickets->Next) {
- <%$w->Id%>:
<%$w->Subject%> (<%$w->Status%>)
%}
-----Original Message-----
From: Schultz, Eric [mailto:ESchultz@corp.untd.com]
Sent: Friday, July 28, 2006 1:28 PM
To: Helmuth Ramirez; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
Hi all,
I’d like to know if I can get the nice little “More
About” window to
show up for my users. I imported them from LDAP and they’re all
privileged, but because of that right, it seems I don’t get
that nice
little feature
Is there a clean way I can enable that for them?
Sure - in /path/to/your/rt/share/html/Ticket/Elements/ShowRequestor,
remove the lines:
65: % unless ($requestor->Privileged) {
84: %}
Then, you’ll get this for all users, not just Unprivileged. The even
“cleaner” way to do this would be to make a copy of the same file, put
it in the “local” heirarchy, then make your changes there. See
Request Tracker Wiki for details
on using ‘local’.
Eric Schultz
United Online
How did you comment out? Like so?
%# unless ($requestor->Privileged) {
%#}
Just to wrap this up for everyone, Helmuth had commented out the wrong
curly brace We worked it out offline.
Eric Schultz
United Online
Hi all
I just upgraded to 3.6.3, when I went to perform the change mentioned
below (to show ‘More About’) for all my users, I noticed the code
changed. I’m not sure how to go about enabling this feature for all my
users.
Any help would be greatly appreciated!
Cheers
HelmuthFrom: Schultz, Eric [mailto:ESchultz@corp.untd.com]
Sent: Friday, July 28, 2006 4:37 PM
To: Helmuth Ramirez; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
Just to wrap this up for everyone, Helmuth had commented out the wrong
curly brace We worked it out offline.
Eric Schultz
United Online
-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Schultz, Eric
Sent: Friday, July 28, 2006 1:12 PM
To: Helmuth Ramirez; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
How did you comment out? Like so?
%# unless ($requestor->Privileged) {
%#}
-----Original Message-----
From: Helmuth Ramirez [mailto:HelmuthRamirez@compupay.com]
Sent: Friday, July 28, 2006 12:56 PM
To: Schultz, Eric; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
Yes
It was after the restart that the changes took effect (broke).
-----Original Message-----
From: Schultz, Eric [mailto:ESchultz@corp.untd.com]
Sent: Friday, July 28, 2006 3:26 PM
To: Helmuth Ramirez; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
Did you stop/start your webserver as the CleanlyCustomizeRT document
says to do?
Eric Schultz
United Online
Thanks for the fast response!!
I tried that…and it didn’t like it when I refreshed
the page I
commented out the first and last line of my excerpt below. I
OBVIOUSLY
did something wrong, any additional help would be really
appreciated.
Here is an excerpt for that part of my ShowRequestor file
% unless ($requestor->Privileged) {
<&| /Widgets/TitleBox, title_href => $has_right_adminusers ?
“$RT::WebPath/Admin/Users/Modify.html?id=”.$requestor->id : undef,
title=> loc(“More about [_1]”, $name) &>
%# Additional information about this user. Empty by default.
<& /Elements/Callback, _CallbackName => ‘AboutThisUser’,
requestor =>
$requestor, %ARGS &>
<&|/l&>Comments about this user</&>:
<% ($requestor->Comments || loc(“No comment entered about this
user”)) %>
<&|/l, $rows &>This user’s [_1] highest priority
tickets</&>:
%while (my $w=$tickets->Next) {
- <%$w->Id%>:
<%$w->Subject%> (<%$w->Status%>)
%}
-----Original Message-----
From: Schultz, Eric [mailto:ESchultz@corp.untd.com]
Sent: Friday, July 28, 2006 1:28 PM
To: Helmuth Ramirez; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] More About Window for Privileged Users
Hi all,
I’d like to know if I can get the nice little “More
About” window to
show up for my users. I imported them from LDAP and they’re all
privileged, but because of that right, it seems I don’t get
that nice
little feature
Is there a clean way I can enable that for them?
Sure - in
/path/to/your/rt/share/html/Ticket/Elements/ShowRequestor,
remove the lines:
65: % unless ($requestor->Privileged) {
84: %}
Then, you’ll get this for all users, not just Unprivileged.
The even
“cleaner” way to do this would be to make a copy of the
same file, put
it in the “local” heirarchy, then make your changes there. See
Request Tracker Wiki
for details
on using ‘local’.
Eric Schultz
United Online