[rt-users] More About Window for Privileged Users
Schultz, Eric
ESchultz at corp.untd.com
Fri Jul 28 16:12:29 EDT 2006
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