ruqueue-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Ruqueue-devel] Displaying UID in Ticket screen


From: Montana Quiring
Subject: RE: [Ruqueue-devel] Displaying UID in Ticket screen
Date: Wed, 25 Oct 2006 09:08:36 -0500

It was the $uid field that I wanted but I figured it out by examining the
mysql db and making the appropriate changes to the php file.
Thanks!

I've also been able to fix minor issues, by looking at the diff pages in
your cvs. I'm using PHP5 so I've had to do adjustments here and there. Keep
up the great work. Thanks.

-Montana Quiring

-----Original Message-----
From: John Fulton [mailto:address@hidden 
Sent: Monday, October 23, 2006 10:45 AM
To: Montana Quiring
Cc: address@hidden
Subject: Re: [Ruqueue-devel] Displaying UID in Ticket screen


Montana Quiring wrote:

 > I would like to display the UID in the green "User" box when viewing
 > a ticket. I don't really care about the email field. Is there an
 > easy way to have it display the UID data instead of the email
 > address in that green box?

Yes, it's easy, though you'll need to modify the code a little.

The file that you would modify is functions-ticket-static.php.  The
function TicketStaticUser in that file displays the green box.  The
variable $user_id should be what you want to display.

I recently made a change to this function so that if you click the
mailto link for the email address it will CC the comment email address
and populate the subject with the ticket number in the syntax that the
comment email address should contain.  If you look at the diff of this
change in CVS:

http://cvs.savannah.nongnu.org/viewcvs/ruqueue/ruqueue/web-interface/functio
ns/functions-ticket-static.php?root=ruqueue&r1=1.2&r2=1.3

it should give you a pretty good idea of what you need to change.

   John





reply via email to

[Prev in Thread] Current Thread [Next in Thread]