RT at a Glance - show tickets I've requested?

Is it possible to edit a user’s RT at a Glance so that in addition to top 10
tickets I own and top 10 unowned tickets, it also shows the user top 10
tickets that I have requested?

Thanks,
Laura
View this message in context: http://www.nabble.com/RT-at-a-Glance---show-tickets-I've-requested--tp16012526p16012526.html

Laura,

Here’s what I did for this purpose:
http://www.gossamer-threads.com/lists/rt/users/70506?#70506 . I think
this is what you need, anyway.

Have fun!On Wed, Mar 12, 2008 at 3:33 PM, lgrella lgrella@acquiremedia.com wrote:

Is it possible to edit a user’s RT at a Glance so that in addition to top 10
tickets I own and top 10 unowned tickets, it also shows the user top 10
tickets that I have requested?

Thanks,
Laura

View this message in context: http://www.nabble.com/RT-at-a-Glance---show-tickets-I've-requested--tp16012526p16012526.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Hi Chris, Laura,

Many weeks ago i found this piece of code (think it’s from Steven Turner).

<&| /Widgets/TitleBox, title => $title &>
<& /Elements/TicketList, Title => $title,
Format => @Format,
Query => $Query,
Order => $Order,
OrderBy => $OrderBy,
BaseURL => $BaseURL,
Rows => $Rows,
Page => $Page &>
</&>

<%INIT>
my $Rows = $RT::MyRequestsLength;
my $id = $session{‘CurrentUser’}->id;
my $Query = “( “
. join( ’ OR ‘, map "$.id = $id", @roles )
. “)”;
if ( @status ) {
$Query .= " AND ( "
. join( ’ OR ', map "Status = '$
’”, @status )
. " )”;
}
my $Order = “ASC”;
my $OrderBy = “Created”;
my @Format = qq{
id/TITLE:#’,
Priority,
Status,
Subject/TITLE:Subject’,
QueueName,
OwnerName};
</%INIT>

<%ARGS>
$friendly_status => loc(‘open’)
$title => loc(“My [_1] requests”, $friendly_status)
@roles => (‘Watcher’)
@status => (‘open’, ‘new’, ‘stalled’, ‘accepted’, ‘implement’, ‘verified’, ‘pending’, ‘authorized’)
$BaseURL => undef
$Page => 1
</%ARGS>

Place it under /local/html/Elements and give it a good name.

Add it to your sideconfig as well

Torsten

Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Alfred Manke, Thorsten Meincke, Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael KühneVon: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Im Auftrag von Chris
Gesendet: Donnerstag, 13. März 2008 14:08
An: lgrella
Cc: RT Users
Betreff: Re: [rt-users] RT at a Glance - show tickets I’ve requested?

Laura,

Here’s what I did for this purpose:
http://www.gossamer-threads.com/lists/rt/users/70506?#70506 . I think this is what you need, anyway.

Have fun!

Hi RT Developer,

Can anybody tell me the advantage of CSS::Squish Module? From the Readme of this perl module i found that it parses the main.css (for rt in this case) and creates a “large” css with all “sub css” loaded from main.css.

What is the main advantage to do this? How will this work together with other modules calling directly their css files like rtfm, at or calendar ?

Thanks

Torsten

Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Alfred Manke, Thorsten Meincke, Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael Kühne

Hi RT Developer,

Can anybody tell me the advantage of CSS::Squish Module? From the
Readme of this perl module i found that it parses the main.css (for
rt in this case) and creates a “large” css with all “sub css” loaded
from main.css.

So. One CSS file loads faster than 20. Users get their page faster :slight_smile:

What is the main advantage to do this? How will this work together
with other modules calling directly their css files like rtfm, at or
calendar ?

If they add their CSS to main.css, then it should include them
automatically. if they stick them in the page header, then it won’t
but they should continue to work the “regular” way.

PGP.sig (186 Bytes)

Hi RT Developer,

[snip]

What is the main advantage to do this? How will this work together
with other modules calling directly their css files like rtfm, at or
calendar ?

If they add their CSS to main.css, then it should include them
automatically. if they stick them in the page header, then it won’t
but they should continue to work the “regular” way.
I’ve implemented it in such way that extensions can take advantage
also by pointing to its main css file using squished suffix and then
the file will be squished as well. For example if you have xxx.css,
then you link it from a page as xxx-squished.css and RT will generate
one file by inlining all includes.


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.