You are not logged in.
Hello everybody!
I want to alter open ticket form category dropdown, I need to change database query. I have done it, but altering GLPI core.
I haven't seen any hook to do it with a plugin, and I think it is impossible to override ticket.class in a plugin, isn't it?
Could I do it without alter GLPI core?
Thanks in advance
Last edited by jpuente (2018-01-24 12:15:51)
Offline
What do you want to do exactly?
With a plugin you can refuse ticket creation if the category selected is not set, or not a correct value with other fields selected...
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
hi @jpuente have you solved this??
Offline
hi @glpi-dev i have same situation, i need that the dropdown that show the suppliers must be join with another table to get the items listed.
I need to tell the these dropdown that use a custom query to get the values.
Offline
You can't change already defined dropdown with a plugin.
But you can create your own one
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