How to change the location of freetexts on new phonetickets?

Moderator: crythias

Locked
guillo
Znuny newbie
Posts: 98
Joined: 16 May 2012, 20:05
Znuny Version: 3.0.7

How to change the location of freetexts on new phonetickets?

Post by guillo »

So Basically I have X layout of freetexts on my new phone ticket screen. I just want to change such layout.

Image

(CREAR = CREATE)

I Want to place the RFC field just above the "SERVICIO APLICACIONES"
OTRS V 3.0.7 Windows 2008 x64 going for 3.1.7
OTRS 3.1.12 on LINUX UBUNTU SERVER
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to change the location of freetexts on new phonetick

Post by crythias »

read the commented sections in Kernel/Output/HTML/Standard/AgentTicketPhone.dtl
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
guillo
Znuny newbie
Posts: 98
Joined: 16 May 2012, 20:05
Znuny Version: 3.0.7

Re: How to change the location of freetexts on new phonetick

Post by guillo »

So it's been a long time since I posted this! :) Not a such noob anymore.... But I still can't figure it out this part. I've been looking at the AgentTicketPhone.dtl and I still can't understand how to change the order of the freetext.

So I've been looking at this part:

Code: Select all

#<!-- dtl:block:ArticleFreeText1 -->
#                        <label>$Data{"ArticleFreeKeyField1"}:</label>
#                        <div class="Field">
#                            $Data{"ArticleFreeKeyField1"}
#                        </div>
#                        <div class="Clear"></div>
#<!-- dtl:block:ArticleFreeText1 -->
#<!-- dtl:block:ArticleFreeText2 -->
#                        <label>$Data{"ArticleFreeKeyField2"}:</label>
#                        <div class="Field">
#                            $Data{"ArticleFreeTextField2"}
#                        </div>
#                        <div class="Clear"></div>
#<!-- dtl:block:ArticleFreeText2 -->
So if I change the order from 1 to 2, to 2 to 1, then my freetext will appear on that order?? So I must add a <!-- dtl:block:ArticleFreeTextX --> for every freetext in the order that i want it??? is taht it??
OTRS V 3.0.7 Windows 2008 x64 going for 3.1.7
OTRS 3.1.12 on LINUX UBUNTU SERVER
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: How to change the location of freetexts on new phonetick

Post by yuri0001 »

Yes, you must create such block for each Dynamic (FreeText) field in needed order.
Each block must have the header with name of field as it created in SysConfig (CategoryName in example)
<!-- dtl:block:DynamicField_CategoryName -->
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Locked