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 2012-05-21 16:56:34

goblin
Member
Registered: 2010-05-05
Posts: 28

changes in e-mail templates 0.78.1 -> 0.83.1

Hello Colleagues,
we finally decided to upgrade from 0.78.1 to 0.83.1
thank you or that new build!
all went smothly with one exception: 2 tag pairs has disapeared in e-mail templates and cannot be found:
##lang.ticket.author.location##: ##ticket.author.location##
##lang.ticket.author.phone##: ##ticket.author.phone##

I've tried to search thru database and all inslattation files, tried to seach on forum but no luck sad

Does anybody know how can I represent information about location of requestor and his contact information in e-mail template?

Thank you!

Offline

#2 2012-05-21 17:16:17

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: changes in e-mail templates 0.78.1 -> 0.83.1

As you can have various requester, you must include this in a loop, something like

##FOREACHauthors##
##lang.author.phone## : ##author.phone##
##lang.author.location## : ##author.location##
##ENDFOREACHauthors##

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

#3 2012-06-09 17:01:28

goblin
Member
Registered: 2010-05-05
Posts: 28

Re: changes in e-mail templates 0.78.1 -> 0.83.1

Remi, thank you for your answer.
unfortunately there is no such keys as
##lang.author.phone##
##author.phone##
##lang.author.location##
##author.location##
they are gone in new versions.

do you know if there is a way to use maybe another  keys to represent information about requestor location and contact data?
We are managing many organisations located in different cities. it is not easy for techs to get data where user is located and how to contact him.

I've searched thru several scripts but havent found any usefull data.
there is a way to display  location of unit assigned to that ticket, but no way to do it for author.
Please help!

Thank you!

Offline

Board footer

Powered by FluxBB