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 2018-01-24 10:39:10

jpuente
Guest
Registered: 2018-01-23
Posts: 1

Alter dropdown query or override classes

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 smile

Last edited by jpuente (2018-01-24 12:15:51)

Offline

#2 2018-02-02 17:55:40

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

Re: Alter dropdown query or override classes

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
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB