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 2011-03-16 15:59:12

vasdjs
Member
Registered: 2010-08-18
Posts: 8

Remove hyperlinks from email responses

Hi, I have set up (a new) GLPI to create new tickets from emails sent to helpdesk@ and this works well except the mail contains a hyperlink which takes the user back to the login page (and then the ticket). I want to remove the hyperlink so that I don't frustrate users who do not have a login (and never will). I have had a look at some of the php files in /var/www/glpi/inc but it is mostly over my head, so I don't want to start amending things at random! Any advice greatly appreciated.  KR's vasdjs


GLPI 0.78.2,
Ubuntu Server 10.04, PHP 5.3.2,  Apache 2.2.14, MySQL: 5.1.41,
ITIL v3Foundation,

Offline

#2 2011-03-16 16:10:05

stepit
Member
From: Deutschland Rheinland Pfalz
Registered: 2011-01-26
Posts: 79

Re: Remove hyperlinks from email responses

Hello,

you can remove / change the text of the Mail notification under: Setup/Notifications/Notification templates/Tickets.

Just remove "##lang.ticket.url## : ##ticket.urlapprove##"

Last edited by stepit (2011-03-16 16:11:04)


Gruss Stefan
--------------------------------------------------------
GLPI 0.80.7, Ubuntu Linux 4.1.2-16

Offline

#3 2011-03-16 16:54:33

vasdjs
Member
Registered: 2010-08-18
Posts: 8

Re: Remove hyperlinks from email responses

Thanks stepit... I removed the 2nd line ( ##lang.ticket.url## : ##ticket.urlapprove##)   of the ticket default translation (Notification Templates - ID4). However, this doesn't seem to have worked.   Also, these templates have 2 halves and I edited the 2nd line in both (one text, 1 html?). I saved the change and got someone to email, but they got the hyperlink in the reply. Do I need to do more editing? KR's vasdjs


GLPI 0.78.2,
Ubuntu Server 10.04, PHP 5.3.2,  Apache 2.2.14, MySQL: 5.1.41,
ITIL v3Foundation,

Offline

#4 2011-03-16 18:28:49

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

Re: Remove hyperlinks from email responses

The 2nd line is when a ticket is solved.
You must delete also line 4
##ELSEticket.storestatus## ##lang.ticket.url## : ##ticket.url## ##ENDELSEticket.storestatus##


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB