[rt-users] CONTRIB: MyQueues v0.0.2
RT2 Troubles
rt2trouble at morben.ca
Fri Feb 8 12:26:31 EST 2002
This is great work and I love the ease of this addon! Now it brings up an
issue we haven't touched on here. What is the difference between watchcc and
watchasadmincc ? ;)
On February 7, 2002 07:17 pm, you wrote:
> Howdy again!
>
> As Ryan Morben was kind enough to point out, MyQueues was showing all
> queues to anyone who wasn't a watcher on any queue. Further poking at it
> also taught me that I don't know as much about how Queue->IsWatcher() as
> I thought I did. I didn't spot this myself as there aren't any queues
> here I don't watch...more's the pity.
>
> However, an hour of learning enabled me to figure out a hack to solve
> the problem while I go learn more about Queue->IsWatcher(). I've tested
> this one on a couple of people who watch fewer queues than I do, and
> it's working. Really. =]
>
> It also notes in the title of the box how many queues you're watching; I
> toyed with having it be invisible if you watch no queues, but I decided
> that since MyTickets and MyRequests show up even if empty, it made more
> sense to follow that behavior.
>
> Anyway, enjoy!
>
> --j
>
> On Thu, 2002-02-07 at 12:29, Jim Meyer wrote:
> > Howdy!
> >
> > In line with the MyTickets and MyRequests portions of WebRT, here's a
> > MyQueues module which displays the 25 highest priority unclaimed (e.g.
> > owned by Nobody) tickets in all queues that the current user is a
> > watcher on.
> >
> > To use this module:
> >
> > * Copy it into your RT dir under WebRT/html/Elements/MyQueues.pm
> > * Add it to your WebRT/html/index.html:
> >
> > <TD WIDTH=70%>
> > <& /Elements/CustomHomepageHeader, %ARGS &>
> > <& /Elements/MyTickets &>
> > <BR>
> > + <& /Elements/MyQueues &>
> > + <BR>
> > <& /Elements/MyRequests &>
> > </TD>
> > <TD>
> >
> > And it should just work. =]
> >
> > Enjoy!
> >
> > --j
> > --
> > Jim Meyer, Geek At Large purp at wildbrain.com
> >
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
More information about the rt-users
mailing list