You are not logged in.
Pages: 1
Hello,
The Email subject for my helpdesk tickets are something like:
[GLPI #0000004] New ticket - some issue description
How can I change this? For example to:
[Ticket #0000004] New ticket - some issue description
Last edited by andremta (2009-10-13 19:19:38)
Offline
You can't.
If you change this (in the code) you will break followup by mail feature which use the subject to detect ticket number.
+
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Ok, so this could be a feature request.
Offline
> Ok, so this could be a feature request.
I don't think GLPI dev. really consider this as a feature
Have you ask Micrsoft to change "Microsoft Word" to "Something else" ?
+
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
> Ok, so this could be a feature request.
I don't think GLPI dev. really consider this as a feature
Have you ask Micrsoft to change "Microsoft Word" to "Something else" ?
+
Instead, they could have another GLPI reference in the Email's footer instead of the Email's subject.
For regular users "GLPI" doesn't mean anything, "Ticket" or "Helpdesk" is more meaningful.
Offline
Although remi is right in that if you change the subject it can cause issues for existing tickets. Going forward it will work. So if you have a new system, now would be the time to change it and here is how to do that.
How to edit the body of the email sent out for tickets that are new, follow ups, etc.
1. Open /var/www/glpi/inc/tracking.class.php for edit
2. Navigate to line 949. This is the beginning of the html email
3. The variable '$message' is used to create the body of the email
* The form $message.="blah blah blah" is used to concatenate the '$message' variable to form the email body. So to add something to an existing line simply remove the newline charactor at the end of the line (leaving the semi-colon), begin a new line with '$message.=' and complete your edit.
4. All variables of the form $LANG['xxxxx'][##] can be found in the file /var/www/glpi/locales/en_GB.php. This is a list of titles used throughout GLPI.
5. When you have completed your edits, save and close tracking.class.php.
How to edit the email 'subject'
1. Open /var/www/glpi/inc/mailing.class.php for edits
2. Navigate to line 490. This is the beginning of the building of the email 'subject'
3. The line (about 495) with 'sprintf' contains most of the email subject.
4. The format of this command is ( format,string,string)
%s%04d%s is the format,. Where %s means a string value and %04d means an integer value starting at '0' and going for '4' numbers
5. As in the body of the email, the subject is concatenated using $subject.="blah blah blah".
GLPI 0.72.21 - OCS 1.02
Ubuntu 9.04 - php 5.2.6 - MySQL 5.1.31 - apache2 2.2.11
Offline
Thanks for you reply!
I don't use GLPI as mail fetcher, so I guess I'm not going to have problems if I change the subject?
Offline
I would tend to agree with andremta: even if sys admins love glpi, it doesn't mean anything to end users
I'd rather have "helpdesk" instead of GLPI in the mail subject.
Offline
Is there a simple and upgrade stable way today ?
For regular users "GLPI" doesn't mean anything, "Ticket" is more meaningful. This is my opinion too.
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline
KKAdmin,
This is now built in to GLPI. Go to Administration > Entities, then select your Entity you want to change (You have to do it for each entity change). Choose Notifications > Prefix for notifications. Here, you can change your email from [GLPI #12345] to [My Super Helpdesk #12345] or whatever your heart desires!
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
Offline
Hello,
I have a problem with the Prefix for notifications (yes 8 years later lol)
I change it, it works, but all of my other modifications doesn't works ...
I change the default configuration (wich was GLPI) to another word, and i want to remove my modification but it doesn't work.
I'm stuck ...
My version is GLPI 10.0.6
Thanks you very much
Offline
Pages: 1