1) Adding custom link to WebRt 2) Recommend Perl to Learn for RT

  1. Adding custom link to WebRT

When I display a Ticket I see these links at the top:
“Comment Reply Resolve Take”

I’d like to add a “Copy” link which would go to a custom php page of
mine and pass the id variable to it. So if you push the “Copy” on
Ticket #7125 it’ll go here: http://my_rt_webpage/Ticket/Copy.php?id=7125

I looked around /path_to_rt2/WebRT/html , RTFM, and searched postings
and didn’t find where I could add this.

BTW if anyone is interested in my basic PHP page to extract a particular
ticket’s info let me know.

  1. Recommend Perl to Learn for RT
    We mostly use PHP and mysql at my work, however I’d like to learn the
    "right" type of perl to customize RT.

I’ve done some basic perl for system administration tasks, but not much
in terms of web pages. I realize that RT uses a combination of basic
perl, mysql queries, perl for web, perl modules, html mason, etc…

In terms learning perl for the purpose of customizing WebRT, scrips, .pm
files, etc… any suggested books, tutorials, etc…

Thank you,
Mike Patterson

At 09:54 AM 2/19/2003 -0800, Mike Patterson wrote:

  1. Adding custom link to WebRT

When I display a Ticket I see these links at the top:
“Comment Reply Resolve Take”

I’d like to add a “Copy” link which would go to a custom php page of mine
and pass the id variable to it. So if you push the “Copy” on Ticket #7125
it’ll go here: http://my_rt_webpage/Ticket/Copy.php?id=7125

I looked around /path_to_rt2/WebRT/html , RTFM, and searched postings and
didn’t find where I could add this.

BTW if anyone is interested in my basic PHP page to extract a particular
ticket’s info let me know.

/WebRT/html/Ticket/Elements/Tabs

Just add on around line 87 your links. You should be able to decipher what
to put by looking at the lines above line 87, as they are the “Comment
Reply Resolve Take” lines.

-FS