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-03-29 09:35:44

arielmanra
Member
Registered: 2019-03-26
Posts: 40

modify email templates/modificar plantillas emails

Hello, someone can help me.
How to eliminate these lines

Generated automatically by GLPI 9.2.1
= _ = _ = _ = To answer by email, write below this line = _ = _ = _ =
in the emails generated when creating a new ticket?




Hola, alquien me puede ayudar.
¿Como eliminar estas lineas
Generado automáticamente por GLPI 9.2.1
=_=_=_= Para responder por correo electrónico, escriba bajo esta línea =_=_=_=
en los correos que se generan al crear un nuevo ticket?

Offline

#2 2019-03-29 10:11:15

scmi
Member
From: Germany
Registered: 2009-02-10
Posts: 80

Re: modify email templates/modificar plantillas emails

Hi, in notificationtargetticket.class.php u find


* Get footer to add to content
   
   function getContentFooter() {

      if (MailCollector::getNumberOfActiveMailCollectors()) {
         return self::FOOTERTAG.' '.__('To answer by email, write under this line').' '.
                self::FOOTERTAG;
      }

      return '';


Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1

Offline

#3 2019-03-29 10:44:40

arielmanra
Member
Registered: 2019-03-26
Posts: 40

Re: modify email templates/modificar plantillas emails

Thanks for answering my question.

Offline

#4 2019-04-09 09:27:25

arielmanra
Member
Registered: 2019-03-26
Posts: 40

Re: modify email templates/modificar plantillas emails

Generated automatically by GLPI 9.2.1
= _ = _ = _ = To answer by email, write below this line = _ = _ = _ =

These messages change, depending on the language of the user interface that opens the incident. But when modifying the message, it remains static for all languages. Can you put it to change the language?




Generated automatically by GLPI 9.2.1
= _ = _ = _ = To answer by email, write below this line = _ = _ = _ =

Estos mensajes cambian, dependiendo del idioma de la interfaz del usuaio que abre la incidencia. Pero al modificar el mensaje queda estatico para todos los idiomas. ¿Se puede poner para que cambien de idioma?

Offline

#5 2019-04-09 10:03:32

scmi
Member
From: Germany
Registered: 2009-02-10
Posts: 80

Re: modify email templates/modificar plantillas emails

In locales/ xxxx.po u find

#: inc/notificationtargetticket.class.php:80
msgid "To answer by email, write above this line"
msgstr "......"

and

#: inc/notificationtargetticket.class.php:96
msgid "To answer by email, write under this line"
msgstr "......"


Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1

Offline

#6 2019-04-09 10:28:54

arielmanra
Member
Registered: 2019-03-26
Posts: 40

Re: modify email templates/modificar plantillas emails

Muchas gracias por tu ayuda.

Thank you very much for your help.

Offline

#7 2023-10-03 08:29:04

ABuiza
Member
Registered: 2022-05-05
Posts: 2

Re: modify email templates/modificar plantillas emails

You have to edit file NotificationTargetTicket.php.

Change the value of this consts for whatever you want:

/**
 * NotificationTargetTicket Class
 **/
class NotificationTargetTicket extends NotificationTargetCommonITILObject
{
    const HEADERTAG = '=-=-=-=';
    const FOOTERTAG = '=_=_=_=';
arielmanra wrote:

Hello, someone can help me.
How to eliminate these lines

Generated automatically by GLPI 9.2.1
= _ = _ = _ = To answer by email, write below this line = _ = _ = _ =
in the emails generated when creating a new ticket?

Hola, alquien me puede ayudar.
¿Como eliminar estas lineas
Generado automáticamente por GLPI 9.2.1
=_=_=_= Para responder por correo electrónico, escriba bajo esta línea =_=_=_=
en los correos que se generan al crear un nuevo ticket?

Offline

Board footer

Powered by FluxBB