Changing order of fields on Phone Ticket form
Moderator: crythias
Changing order of fields on Phone Ticket form
Hi, I'm running the Windows version: 2.4.7.
I want to change the display order of the fields on the Phone Ticket form: for example I want to move the "CustomerID" field up under the "From" field. Basically I want to make the form easier to fill out for our Customer Service Reps when they take a call.
I've got all the fields I need... I just want to move them around on the form.
I believe the DTL involved here is AgentTicketPhone.dtl
I've looked at Theme's and creating new themes but to be honest the documentation I've seen does not readily make any sense to me.
The Theme documentation talks about modifying the DTL file (which I can do) and then inserting it into the SQL Database. Here I have no clue... I don't even know how to get into the database (again I am running Windows) and if I did, I wouldn't know the syntax to use to do this insertion.
The bit in the documentation about Themes had some SQL syntax however it made no sense to me at all...
Is there an easy way to achieve what I need to do?
I am pretty stumped at this point. Any help would be appreciated! Please assume I know little to commence with... Wayne
I want to change the display order of the fields on the Phone Ticket form: for example I want to move the "CustomerID" field up under the "From" field. Basically I want to make the form easier to fill out for our Customer Service Reps when they take a call.
I've got all the fields I need... I just want to move them around on the form.
I believe the DTL involved here is AgentTicketPhone.dtl
I've looked at Theme's and creating new themes but to be honest the documentation I've seen does not readily make any sense to me.
The Theme documentation talks about modifying the DTL file (which I can do) and then inserting it into the SQL Database. Here I have no clue... I don't even know how to get into the database (again I am running Windows) and if I did, I wouldn't know the syntax to use to do this insertion.
The bit in the documentation about Themes had some SQL syntax however it made no sense to me at all...
Is there an easy way to achieve what I need to do?
I am pretty stumped at this point. Any help would be appreciated! Please assume I know little to commence with... Wayne
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Changing order of fields on Phone Ticket form
http://doc.otrs.org/2.4/en/html/c2079.html
Once that is accomplished, the theme is available from the preferences drop down list per user. If it's not selected, changes won't happen.
-=-=-=-=-=-=-
To change the order of displayed items, simply change the order of the entries in the .dtl file.
- Create a directory for your new theme
mkdir c:\otrs\Kernel\Output\HTML\yourThemeName - Customize the files
Copy only the files you want to change (AgentTicketPhone.dtl) to the new directory/folder - Add the theme name to the database
Get your login, password, and otrs database name from otrs\Kernel\Config.pm
from the command line:
mysql -u login -p otrsdatabasename
at the mysql> prompt put this entire linetype exit to exit mysql promptCode: Select all
INSERT INTO theme (theme, valid_id, create_time, create_by, change_time, change_by) VALUES ('yourThemeName', 1, current_timestamp, 1, current_timestamp, 1);
Once that is accomplished, the theme is available from the preferences drop down list per user. If it's not selected, changes won't happen.
-=-=-=-=-=-=-
To change the order of displayed items, simply change the order of the entries in the .dtl file.
Code: Select all
<tr>
<td class="contentkey">$Text{"CustomerID"}:</td>
<td class="contentvalue"> <input type="text" name="CustomerID" value="$QData{"CustomerID"}" size="25"/></td>
</tr>
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
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
Re: Changing order of fields on Phone Ticket form
This has been very helpful. I think I've got it now... Thanks for all your assistance!
-
- Znuny newbie
- Posts: 85
- Joined: 25 Jan 2011, 06:54
- Znuny Version: OTRS 3
- Company: eStomi Technologies Pvt Ltd
- Contact:
Re: Changing order of fields on Phone Ticket form
I tried to modify the phone ticket, but in My database there is no table named theme.
do i need to create a new table?
do i need to create a new table?
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
Re: Changing order of fields on Phone Ticket form
in 3.0 no table for themes is needed. Did you read the admin book?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 85
- Joined: 25 Jan 2011, 06:54
- Znuny Version: OTRS 3
- Company: eStomi Technologies Pvt Ltd
- Contact:
Re: Changing order of fields on Phone Ticket form
i didn't notice it.. Thanks for reply
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
Re: Changing order of fields on Phone Ticket form
This work with dynamicfield ?
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Changing order of fields on Phone Ticket form
This is an old thread. Yes, you can statically position DynamicFields if they're enabled in SysConfig.eterjack wrote:This work with dynamicfield ?
Or you can use the DynamicField's index numbers for positioning.
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
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
Re: Changing order of fields on Phone Ticket form
Thx, for replay.
Index order work only for dynamic ? I want position my dynamic field, before selection service.
Thx
Index order work only for dynamic ? I want position my dynamic field, before selection service.
Thx
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Changing order of fields on Phone Ticket form
Yes. look for comments in the appropriate .dtl file.
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
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