[Rt-devel] Callbacks help
Craig Schenk
murple at murple.net
Wed Mar 30 12:59:10 EST 2005
We have a tool for RTFM that worked with RT3.0.x but doesnt work with
3.2.x... Ive been told callbacks changed. The Callbacks stuff is in:
/opt/rt/local/html/Callbacks/brokentool/Ticket/Elements/ShowLinks
And this file reads:
###
<%args>
$Ticket
</%args>
<tr>
<td class="labeltop" colspan=2 align="center">
<A
HREF="http://url.com/othertool.cgi?action=Create+ticket&related_rt_tick
et= <% $Ticket->Id %>¤t_user=<% $session{'CurrentUser'}->Name |u
%>&description=<% $Ticket->Subject |u %>" >Create new Othertool
ticket</A>
</td>
</tr>
###
If I go in and do it the "wrong" way and edit
/opt/rt/share/html/Elements/ShowLinks and add this, it works:
###
<ul>
<tr>
<td class="labeltop" colspan=2 align="center">
<A
HREF="http://url.com/othertool.cgi?action=Create+ticket&related_rt_tick
et= <% $Ticket->Id %>¤t_user=<% $session{'CurrentUser'}->Name |u
%>&description=<% $Ticket->Subject |u %>" >Create new Othertool
ticket</A>
</td>
</tr>
</ul>
###
Tried adding the <ul> tags to the local callbacks, no luck. Any ideas
what needs to change? I cant find any documentation.
More information about the Rt-devel
mailing list