Dear all,


I propose to add two new hook calls in GLPI core:

-          one before showing items  (or part of items)

-          one after having showed those items (or part of items)



I explain: the idea is to have the possibility to change a bit the forms via 
plugins without the need to modify the core.



Examples:



1)      One call before showing a ticket and after showing the ticket

2)      One call before showing a followup and after showing a followup

3)      One call before showing the list of followup and one call after.

4)      ...



I propose to name these hooks like:

a)      pre_show_item

b)      post_show_item



A good place to put these new hooks could be before the sending of the <FORM> 
and after the sending of the </FORM> tags for any item (like Ticket, Followup, 
Computer, ...).



Thank you,





Olivier MORON (Tomolimo)

Miscellaneous Program Member



RAYNET SNC

Tel : +33 4 76 33 49 52

Fax: +33 4 76 70 56 63




_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to