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 2019-05-13 13:37:33

Drumhazzard
Member
Registered: 2011-09-19
Posts: 47

Custom Tags (## ##)

Hi All!

I'm looking for documentation or help about create custom tags like ##ticket.id## for use in notifications, for example.

Anybody could help me?

Thank you very much

Offline

#2 2019-05-15 10:42:36

Drumhazzard
Member
Registered: 2011-09-19
Posts: 47

Re: Custom Tags (## ##)

Up!

Offline

#3 2019-05-15 11:18:38

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,168

Re: Custom Tags (## ##)

look at glpi/inc/notificationtargetticket.class.php, you'll find some examples


it would be better to create a plugin "morenotificationtags" rather than edit glpi core


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#4 2019-05-20 15:39:20

Drumhazzard
Member
Registered: 2011-09-19
Posts: 47

Re: Custom Tags (## ##)

LaDenrée wrote:

look at glpi/inc/notificationtargetticket.class.php, you'll find some examples


it would be better to create a plugin "morenotificationtags" rather than edit glpi core


Thank You Very Much!

Offline

#5 2019-05-21 11:32:43

Alina59
Member
Registered: 2019-05-21
Posts: 1

Re: Custom Tags (## ##)

LaDenrée wrote:

look at glpi/inc/notificationtargetticket.class.php, you'll find some examples


it would be better to create a plugin "morenotificationtags" rather than edit glpi core

Just what I needed, worked a treat, thank you!

Offline

Board footer

Powered by FluxBB