[rt-users] More About Window for Privileged Users

Helmuth Ramirez HelmuthRamirez at compupay.com
Thu Jan 11 09:21:22 EST 2007


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
Helmuth

-----Original Message-----
From: Schultz, Eric [mailto:ESchultz at corp.untd.com] 
Sent: Friday, July 28, 2006 4:37 PM
To: Helmuth Ramirez; rt-users at 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 at lists.bestpractical.com 
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf 
> Of Schultz, Eric
> Sent: Friday, July 28, 2006 1:12 PM
> To: Helmuth Ramirez; rt-users at 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 at compupay.com] 
> > Sent: Friday, July 28, 2006 12:56 PM
> > To: Schultz, Eric; rt-users at 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 at corp.untd.com] 
> > Sent: Friday, July 28, 2006 3:26 PM
> > To: Helmuth Ramirez; rt-users at 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</&>:<br />
> > > <b><% ($requestor->Comments || loc("No comment entered about this
> > > user")) %></b><br />
> > > 
> > > <&|/l, $rows &>This user's [_1] highest priority 
> tickets</&>:<br />
> > > <ul>
> > > %while (my $w=$tickets->Next) {
> > > <li><a 
> > > href="<%$RT::WebPath%><%$DisplayPath%>?id=<%$w->id%>"><%$w->Id%>:
> > > <%$w->Subject%></a> (<%$w->Status%>)
> > > %}
> > > 
> > > -----Original Message-----
> > > From: Schultz, Eric [mailto:ESchultz at corp.untd.com] 
> > > Sent: Friday, July 28, 2006 1:28 PM
> > > To: Helmuth Ramirez; rt-users at 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
> > > http://wiki.bestpractical.com/index.cgi?CleanlyCustomizeRT 
> > for details
> > > on using 'local'.
> > > 
> > > Eric Schultz
> > > United Online



More information about the rt-users mailing list