[rt-users] CustomFields in At A Glance Page

Dale Bewley dlbewley at ucdavis.edu
Fri Apr 2 13:49:09 EST 2004


I'm using RT 3.0.9

I've copied rt/share/html/Elements/MyTickets to
rt/local/html/Elements/MyTickets then added

        <TD>
        <%$Ticket->QueueObj->Name%>
        <%$Ticket->FirstCustomFieldValue('SubQueue') || 'x'%>
        </TD>

And even for tickets that have a value in the 
global CF named SubQueue, I only get 'x'. My CF's are of "Select one value" type.

After I get this working I want to get this CF to show up on the search
page by altering rt/local/html/Search/Elements/TicketRow and
TicketHeader. So far I get no value returned there either.

Any ideas?



On Fri, 2004-04-02 at 08:42, Paul Barmaksezian wrote:
> (I think we're supposed to respond to the whole list so others can see the results or help out :)
> 
> I haven't seen a response to this (or my other questions).  But I think I may have a solution:
> I copied share/html/Elements/MyTickets (which is where the top X tickets code goes) to my local directory.  I then modified it to add the field.  Turns out it's not too complicated.  Within my table field, I added this line (saw the code somewhere else):
> 
> <%$Ticket->FirstCustomFieldValue ('Business Priority')%>
> 
> Change 'Business Priority' to 'SubQueue' and it should work for you.  Just a little html and that statement did the trick.
> 
> Unfortunately, I don't know how to sort on this field yet, but that was secondary for me ...
> 
> Paul
> 
> 
> -----Original Message-----
> From: Dale Bewley [mailto:dlbewley at ucdavis.edu]
> Sent: Friday, April 02, 2004 8:18 AM
> To: Paul Barmaksezian
> Subject: Re: [rt-users] CustomFields in At A Glance Page
> 
> 
> Any luck yet? I have a CF called "SubQueue" that I want to go underneath
> "Queue" in the ticket list rather than the current "Last Contact". I
> haven't yet figured out which file I need to customize or just how.
> 
> I started with this
> http://wiki.bestpractical.com/cgi-bin/index.cgi?CleanlyCustomizeRT
> 
> On Fri, 2004-03-26 at 09:04, Paul Barmaksezian wrote:
> > I would like to put a custom field as part of the "X highest priority
> > tickets I own ..." section on the at a glance page.  Each ticket will
> > have this custom field filled in.  Not sure where to start ... Any
> > suggestions on how to get a custom field on the main page?
> > 
> > Paul
> > 
> > 
> > 
> > ______________________________________________________________________
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.bestpractical.com
> > http://lists.bestpractical.com/mailman/listinfo/rt-users
> > 
> > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
-- 
Dale Bewley - dlbewley a/t lib.ucdavis.edu
Unix Administrator - Shields Library - UC Davis



More information about the rt-users mailing list