You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2013-05-17 10:19:14

lukaszba
Member
Registered: 2010-03-04
Posts: 10

Define fields in ticket templates

Is it possible to define additional fields for tickets?
In templates for tickets I can hide fields, mark required fields but can I add others fields, such as drop-down lists, check boxes, additional text boxes, date, etc?

For example:

Type: ...
Category (class): ...
Urgency: ....
Title *: ...
Textfield1 * ...
Dropdown *
Texfield2 *: ....
Date *:

(* require)

I'm using 0.88.3

Offline

#2 2013-05-17 11:57:17

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Define fields in ticket templates

To add new fields on an item, you must create a plugin


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2013-05-17 12:14:42

lukaszba
Member
Registered: 2010-03-04
Posts: 10

Re: Define fields in ticket templates

Could you be more precise? smile
I have to write a plugin or is already such a plugin?

It is a matter of definition somewhere in view (php files) this additional fields?
Or is it more complicated?

Offline

#4 2013-05-17 14:23:13

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Define fields in ticket templates

You must write a plugin that add a new tab in the Ticket object


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB