It worked for us as per the first wiki example. Could not get the second
one to work.

# Put this in the file [RT
Root]/local/html/Callbacks/MY_CUST_FOLDER/Ticket/Display.html/BeforeShow
History 
# (replace MY_CUST_FOLDER with your value)
# and it will create ugly button to create a child ticket in another
queue 
# ---------------------------------

<FORM ACTION="<% $RT::WebPath %>/Ticket/Create.html"
NAME="CreateTicketInQueue">
  <input type="submit" value="Create child request in">
  <& /Elements/SelectQueue, Name => 'Queue', %ARGS, ShowNullOption => 0,
ShowAllQueues => 0 &>
  <input type="hidden" name="new-MemberOf" value="<%$Ticket->Id%>">
  <input type="hidden" name="Subject" value="Child of:
<%$Ticket->Subject%>">
</FORM>

<%INIT>
</%INIT>

<%ARGS>
$Ticket => undef
$Verbose =>  0
$Default => 0
</%ARGS>

HTH,
Gabriele Franzini
ICT Applications Manager
Nerviano Medical Sciences SRL
Viale Pasteur 10
20014 Nerviano Italy
tel +39 0331581477
fax +39 0331581456

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to