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-06-17 12:26:37

giampiero_scannavino
Member
Registered: 2011-05-03
Posts: 6

Cannot display 'item.location' in notification

Hi everybody, after a very long reading of the documentation and topic too, I've tried to customize a template to display just the fields our techs will use focusing the 'item.location' without a good result. I set the value listed in help ( ##ticket.item.location## ) in my template displayng the label ( ##ticket.item.location## ) but not the real value. Can anybody help me to solve so I'm ready to shift in production all the stuff? thanks in advance

GLPI 0.78.5 RHEL 5.5 CHROME 12.0.742.100 OCS 1.3.3 OCSNG mode on
plugins: ocsmassimport - file inject - reports - pdf print


Giampiero Scannavino

Offline

#2 2011-06-17 13:52:16

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

Re: Cannot display 'item.location' in notification


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

#3 2011-06-17 16:31:46

giampiero_scannavino
Member
Registered: 2011-05-03
Posts: 6

Re: Cannot display 'item.location' in notification

First of all thanks for your solicite answer, I've applied the fix and now instead of the label it returns me blanks. Where I'm wrong?


Giampiero Scannavino

Offline

#4 2011-06-20 09:35:50

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

Re: Cannot display 'item.location' in notification


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

#5 2011-06-20 11:08:14

giampiero_scannavino
Member
Registered: 2011-05-03
Posts: 6

Re: Cannot display 'item.location' in notification

Hi Yllen, I'm very glad to see how speed and sharp are your answers 1000 thanks. I've applied the fix and it works fine, very good job. If i can i want to submite to you another little (for you) thing that i obtain (in the same mail template) with the field "ticket.description" that returns me the label but not the real value. I hope I'm not off topic asking that. Many thanks more.


Giampiero Scannavino

Offline

#6 2011-06-20 14:44:47

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

Re: Cannot display 'item.location' in notification

Which tag had you used ? for me it's ##ticket.content##


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

#7 2011-06-20 14:52:46

giampiero_scannavino
Member
Registered: 2011-05-03
Posts: 6

Re: Cannot display 'item.location' in notification

I've used both ##ticket.content## and ##ticket.description## to complete my little template according to my general settings that don't oblige the ticket title.


Giampiero Scannavino

Offline

#8 2011-06-20 15:12:11

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

Re: Cannot display 'item.location' in notification

We use ##ticket.content## at my job without any problem (in 0.78.5)


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

#9 2011-06-20 15:17:51

giampiero_scannavino
Member
Registered: 2011-05-03
Posts: 6

Re: Cannot display 'item.location' in notification

Ok then will use this cancel the other. Thanks a lot for your assistance.
Greetings


Giampiero Scannavino

Offline

#10 2011-06-20 16:39:58

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

Re: Cannot display 'item.location' in notification

OK. I close


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