
Hi,
Hi People, does anyone know if it is possible to show the ticket free text section on the
AgentTicketPhone.dtl - I have added the following onto this but it does not appear, am I doing something wrong?
It' absolutely possible and OTRS is prepared to do this.
*<!-- dtl:block:TicketFreeText --> <tr> <td colspan="2" class="contentkey">$Data{"TicketFreeKeyField"}:</td> <td class="contentvalue">$Data{"TicketFreeTextField"}</td> </tr> <!-- dtl:block:TicketFreeText -->* which as far as I can tell calls the free text fields. Is it unable to do this because at the time there is no Ticket created?
I didn't check the snippet. However, there is one commented in the .dtl file. You just have to remove the comments to activate it. Next thing to do is to activate the free fields on this form. That's probably what was missing. You can either insert something like this (below) in Kernel/Config.pm or use SysConig which is the preferred way to do it. $Self->{'Ticket::Frontend::AgentTicketPhone'}->{'TicketFreeText'} = { '1' => '1', '2' => '1', '3' => '1', '4' => '1', '5' => '1', }; The numbers in the left column correspond to the free fields and the 1 on the right activates this particular free field. Use 0 to prevent it from being displayed and 2 to make it a mandatory input field. HTH, Tobias -- Tank: So what do you need? Besides a miracle. Neo: Guns. Lots of guns. -- The Matrix