[Solved] New field for customer
Moderator: crythias
[Solved] New field for customer
How to add new field that will pop up when customer is about to create new ticket?
Last edited by contradl on 05 Oct 2015, 12:04, edited 1 time in total.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: New field for customer
That would be a dynamic field ?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: New field for customer
Or.. You want precognition? Clippy: you look like you're about to create a ticket. Fill this field.
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
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: New field for customer
That made me gigglecrythias wrote:Or.. You want precognition? Clippy: you look like you're about to create a ticket. Fill this field.

Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: New field for customer
I want to add a calendar field where user could add date when he needs ticket to be answered. This date could help our agents to know how much time they have to finish working on something.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: New field for customer
That *should* be done with SLAs - if you have any.
Anyhow, answer is probably still creating a dynamic field and adding it to sysconfig -> ticket -> Frontend::Customer::Ticket::ViewNew
Anyhow, answer is probably still creating a dynamic field and adding it to sysconfig -> ticket -> Frontend::Customer::Ticket::ViewNew
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: New field for customer
Yeah, but sometimes things change during that period. If we are working on a project and are experiencing problems with execution, then we change the end date. This depends from projects that are in the same service, so I need that field so that our agents can see how much time they have.
Re: New field for customer
Now I added field as shown in this pic
.
Is there a way I move this field on the top of ticket?

Is there a way I move this field on the top of ticket?
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: New field for customer
Only if you hardcode it in the template.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: New field for customer
Do you know which file is for this template? (New ticket creation)
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: New field for customer
The File is ~otrs/Kernel/Output/HTML/Standard/CustomerTicketMessage.tt
The block you want starts here:
https://github.com/OTRS/otrs/blob/rel-4 ... ge.tt#L195
Copy the whole block (including render block start and render block end) to the place you want it.
The block you want starts here:
https://github.com/OTRS/otrs/blob/rel-4 ... ge.tt#L195
Copy the whole block (including render block start and render block end) to the place you want it.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: New field for customer
It works. Thx