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

John Jasen jjasen at datafoundation.com
Wed Oct 1 18:57:26 EDT 2003


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.

For example, we wanted Priority and Due Date listed for tickets we owned:

go to $RT_DIR/share/html/Elements and make the following changes:
diff MyTickets MyTickets-premod
31,32d30
< <TH ALIGN=LEFT><&|/l&>Due Date</&></TH>
< <TH ALIGN=LEFT><&|/l&>Priority</&></TH>
64,69d61
< <TD>
< <%$Ticket->DueObj->AsString%>
< </TD>
< <TD>
< <%$Ticket->Priority%>
< </TD>

We also wanted more info on tickets we opened:

diff MyRequests MyRequests-premod
32,33d31
< <TH align=left><&|/l&>Due Date</&></TH>
< <TH align=left><&|/l&>Priority</&></TH>
64,69d61
< <TD>
< <%$Ticket->DueObj->AsString%>
< </TD>
< <TD>
< <%$Ticket->Priority%>
< </TD>

Hope someone finds this useful!




More information about the rt-users mailing list