dtl:block:TicketFreeText

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? <!-- 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? Thanks mailto:andrew.arnold@hammondsdirect.com This message is confidential and may be legally privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system; you must not copy or disclose the contents of this message or any attachment to any other person. Copyright in documents created by or on behalf of this firm remains vested in the firm, and we assert our moral rights, unless the terms of our relevant client's engagement provide otherwise. HammondsDirect is regulated in the United Kingdom by the Law Society. The partners in the firm are either solicitors or registered foreign lawyers and a list of their names and professional qualifications can be inspected at Pennine House, Well Street, Bradford, BD1 5NU. This e-mail has been scanned for all viruses on behalf of HammondsDirect by Integralis e:scan.

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

Thanks Tobias, worked a treat!! Just needed adding to Kernel/Config.pm as suggested Andrew -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Tobias Lütticke Sent: 27 May 2007 18:31 To: User questions and discussions about OTRS.org Subject: Re: [otrs] dtl:block:TicketFreeText 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 _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/ This message is confidential and may be legally privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system; you must not copy or disclose the contents of this message or any attachment to any other person. Copyright in documents created by or on behalf of this firm remains vested in the firm, and we assert our moral rights, unless the terms of our relevant client's engagement provide otherwise. HammondsDirect is regulated in the United Kingdom by the Law Society. The partners in the firm are either solicitors or registered foreign lawyers and a list of their names and professional qualifications can be inspected at Pennine House, Well Street, Bradford, BD1 5NU. This e-mail has been scanned for all viruses on behalf of HammondsDirect by Integralis e:scan.
participants (2)
-
Arnold, Andrew
-
Tobias Lütticke