[rt-users] Manager's homepage
Odhiambo Washington
wash at wananchi.biz
Sat Apr 27 05:16:56 EDT 2002
* Stephen Gower <stephen.gower at wolfson.oxford.ac.uk> [20020424 18:27]: wrote:
> I've never really played around with Perl, let alone HTML::Mason,
> but by hacking around the main homepage, I came up with the
> attached, which is in /path/to/rt/local/WebRT/html/
>
> It prints out the 25 Highest Priority Tickets for "Nobody", and
> then for each of the Team members (those people who have
> permission to do things).
>
> Myself (Team Leader) and my manager, can use it to see who is
> working on what.
>
> Stephen
This is against what version of RT? I tested on 2.0.13 and got the error below:
Mason error
error in file: /opt/rt2/WebRT/data/obj/LOCAL/manager.html
line 34: Unable to locate component "/Elements/YourTickets"
context:
...
30: ');
31: $m->comp('/Elements/CustomHomepageHeader', %ARGS);
32: $_out->('
33: ');
34: $m->comp('/Elements/YourTickets', User=>$Nobody);
35: $_out->('
36:
37: ');
38: while ( my $User = $Users->Next()) {
...
component stack: /manager.html [local]
/autohandler [local]
code stack: /opt/rt2/WebRT/data/obj/LOCAL/manager.html:34
/opt/rt2/WebRT/data/obj/LOCAL/autohandler:69
misc info: error while executing /manager.html [local]:
-Wash
--
Odhiambo Washington <wash at wananchi.com> "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-)
Uncle Ed's Rule of Thumb:
Never use your thumb for a rule. You'll either hit it with a
hammmer or get a splinter in it.
More information about the rt-users
mailing list