[rt-users] quick trick: "RT at a glance" on 2.0

Russ Johnson russj at dimstar.net
Thu Oct 2 15:22:16 EDT 2003


John Jasen wrote:

> If you don't like the default index.html "RT at a glance" page (for 
> example, we wanted more information from " 10 highest priority tickets I 
> own..." and " 10 highest priority tickets I requested..."), you can modify 
> what they display based on the various Elements called.
> 

I actually opted to split out the "New" vs "Open" tickets, and to 
display "Stalled" tickets.

I made index.html look like:

<& /Elements/Header, Title=>"Start page", Refresh => 
$session{'home_refresh_inte
rval'} &>
<& /Elements/Tabs, current_toptab => '' &>
<TABLE BORDER=0 WIDTH=100%>
<TR VALIGN=TOP>
<TD WIDTH=70%>
<& /Elements/CustomHomepageHeader, %ARGS &>
<& /Elements/MyNew &>
<BR>
<& /Elements/MyOpen &>
<BR>
<& /Elements/MyStalled &>
<BR>
<& /Elements/MyRequests &>
</TD>
<TD>
<& /Elements/Quicksearch &>
<BR>
<form method=get action="index.html">
<& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session 
{'home_
refresh_interval'} &>
<div align=right><input type=submit value="Go!"></div>
</form>
</TD>
</TR>
</TABLE>
<%init>
if ($ARGS{'HomeRefreshInterval'}) {
         $session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'};
}
</%init>

Then made MyOpen, MyNew and MyStalled out of MyTickets, modifying the 
status each searches for.

For us, this makes recognizing that there is a new ticket much easier, 
and we can also watch our stalled tickets without periodically doing a 
search for them.

-- 
Russ Johnson
Stargate Online
Home:	http://www.dimstar.net
LDP:	http://ldp.dimstar.net




More information about the rt-users mailing list