Quoting using Reply link from Tab

Has anyone modified RT to automatically quote the last correspondence
when using the Reply link from the Tab bar? Didn’t see anything on the
wiki.

Steve

Has anyone modified RT to automatically quote the last correspondence
when using the Reply link from the Tab bar? Didn’t see anything on the
wiki.

You have to modify a litle bit Ticket/Elements/Tab for example, to get
the last transaction id for the current ticket and add the option
QuoteTransaction=this_id to Ticket/Update.html?Action=Respond&id=" . $id

Or if you wan’t this for all respond/comment to a ticket without
explicit QuoteTransaction option, do it directly in Ticket/Update.html.

Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

The part that worries me is finding the correct transaction id. Would
be a great queue wide option to default to quoting the previous
message by default.

Does the ticket object have a last correspondence element? Or more
generally, where’s the best place to find an overview of the Ticket
class?On Jan 28, 2008, at 10:29 AM, Emmanuel Lacour wrote:

On Mon, Jan 28, 2008 at 09:43:58AM -0500, Steve Cochran wrote:

Has anyone modified RT to automatically quote the last correspondence
when using the Reply link from the Tab bar? Didn’t see anything on
the
wiki.

You have to modify a litle bit Ticket/Elements/Tab for example, to get
the last transaction id for the current ticket and add the option
QuoteTransaction=this_id to Ticket/Update.html?Action=Respond&id=" .
$id

Or if you wan’t this for all respond/comment to a ticket without
explicit QuoteTransaction option, do it directly in Ticket/
Update.html.