HowTo get URLs to auto-generate links in Ticket/Display?

How can one get URLs to auto-generate links in Ticket/Display?

-Matt

At 7/18/2005 07:33 PM, Tom Morgan wrote:

This can be done in RT_SiteConfig.pm

How does one auto-generate URL links in Ticket/Display via
RT_SiteConfig.pm? I just browsed through the file, and I did not see
anything that covered this. I may have missed it.

-Matt

At 7/18/2005 07:33 PM, Tom Morgan wrote:

*** Still Hunting (Third Request) ***

I’m still looking for a way to auto-general URL links in the web page for
Ticket/Display (and SelfService).

I’ll be happy to document this in the wiki…I just need to know how to do
it. Tom mentioned this can be configured, just not how to do it.

Thanks for any help,
-Matt

At 7/22/2005 01:32 PM, Matt England wrote:

Matt England wrote:

*** Still Hunting (Third Request) ***

I’m still looking for a way to auto-general URL links in the web page
for Ticket/Display (and SelfService).

Is Request Tracker Wiki what you’re
looking for? The callback method works in RT 3.4.1.

Cheers
Toby

Hi Toby et al,

At 7/26/2005 08:35 AM, Toby Darling wrote:

Is Request Tracker Wiki what you’re
looking for? The callback method works in RT 3.4.1.

While I have yet to test it, the above link looks like it addresses what I
seek.

What does the “As always, mind the tab damage” reference in the above wiki
page mean?

-Matt

Matt England wrote:

Hi Toby et al,

At 7/26/2005 08:35 AM, Toby Darling wrote:

Is Request Tracker Wiki what you’re
looking for? The callback method works in RT 3.4.1.

While I have yet to test it, the above link looks like it addresses what
I seek.

What does the “As always, mind the tab damage” reference in the above
wiki page mean?

I’d guess it means that if you cut-n-paste the patch file from the web
page, you’d damage any tabs in it, which may cause the patch program to
barf, or worse, the regexp to break. But I may have missed something …

I didn’t fancy playing with a 900+ character regexp, hence using the
callback.

Cheers
Toby

Hi all,

I was looking at how the QueryBuilder works, and found out that the
function “FromSQL” (from the Tickets_Overlay_SQL.pm) returns the querie’s
result set.
In this function there is a code : eval { $self->_parser( $query ); }; . I
can’t find the use of the function unless and until it is used for
checking the query that the user types in .Does Edit Query? in "Advanced"
option of Tickets use this function?.

Also, could someone tell me why the Edit Query is used because i cant get
that to work in my RT.

Thanks
Ahalya Nathan.

At 7/26/2005 08:35 AM, Toby Darling wrote:

Matt England wrote:

*** Still Hunting (Third Request) ***
I’m still looking for a way to auto-general URL links in the web page for
Ticket/Display (and SelfService).

Is Request Tracker Wiki what you’re
looking for? The callback method works in RT 3.4.1.

Ok, the second 2nd suggestion at the above link works well for my RT 3.4.2
system, except that I had to remove the 6th line such that it looks like:

<%init>
my $val = $$content;
use bytes;
$val =~ s/https?:([\w/@-~%#?=;,.:+]|&)+[\w/]/$&</a>/gi;
$val =~ s/(s?ftp|ftps):[\w/.:+-]+/
$&</a>/gi;
href=“mailto:$2”>$&</a>/ gi;
$val =~ s/<((url:\s*)?\w+:[^&<>]+)>/<
$1</a>>/gi;
$$content = $val;
</%init>
<%args>
$content => undef
</%args>

My system had problems with the 6th line (my system complained about syntax
issues), so I just deleted it; I’m not worried about lack of mailto: links
for now.

I’m making a reference in the above wiki page to this end…but I’m not
sure how to correct it.

-Matt