1

Topic: Change e-mail subject GLPI 0.83.91

Hello everyone,

I´m using GLPI 0.83.91.

I´m have a bit o trouble on Changing the e-mail subject GLPI to Ticket. Ex. [GLPI #0000043] New ticket test 1

I´ve research around the web, but i´m not able to find/do what i´ve been finding.

I also need to remove from the singture in the e-mail which says "Automatically generated by GLPI 0.83.91".


Can someone please help me?

Thanks.

2

Re: Change e-mail subject GLPI 0.83.91

> I´m have a bit o trouble on Changing the e-mail subject GLPI to Ticket. Ex. [GLPI #0000043] New ticket test 1
Available from configuration

> I also need to remove from the singture in the e-mail which says "Automatically generated by GLPI 0.83.91".
Not possible

Dév. Fedora 19/20 - PHP 5.6.0-dev - MariaDB 5.5.36 - OCS 2.1 - GLPI SVN
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur http://blog.famillecollet.com/

3

Re: Change e-mail subject GLPI 0.83.91

-> to change the subject, you need to change inc/notificationtargetticket.class.php (line 100)
change the variable $perso_tag ='what you want';

wink

4

Re: Change e-mail subject GLPI 0.83.91

david.ferreira : it's stupid to fork GLPI to change the subject of a mail because you can do it in the interface like said by Remi

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

5

Re: Change e-mail subject GLPI 0.83.91

Go to Administration -> Entities. Click on the Entity for which you want to change the Subject (click on Root Entity if that is the only one you use). Click on the Notification tab, then look for the entry Prefix for notifications. Change this field to reflect how you want your subject to begin. You can replace it with Ticket, for example, to have Subjects like "[Ticket #2013110182] Ticket Update - Pidgin". That is to what Remi is referring.

GLPI v0.84.6 - Ubuntu 12.04 - PHP 5.3.10-1 - Apache 2.2.22 - MySQL 5.5.37
~100 users - ~120 PCs - ~80 servers