You are not logged in.
Pages: 1
Good afternoon. Give advice, please.
I have fully studied and tested all possible options from this manual!
this is the link to the guide >>>>>> https:/ /glpi-user-documentation.readthedocs.io/fr/latest/modules/configuration/notifications/template_example.html
whatever I try - all my answers are always placed in one cell of the table, the code for which is written in the "Email HTML Body" field for each template, as per the guide.
This is how the template is set up:
##ticket.authors## (##FOREACHauthors## ##author.title## ##ENDFOREACHauthors##)
##ticket.creationdate## ##FOREACHauthors## ##author.location## ##ENDFOREACHauthors##
##FOREACHtimelineitems## ##timelineitems.author## - ##timelineitems.date####timelineitems.description####ENDFOREACHtimelineitems##
##ticket.authors## - ##ticket.creationdate## ##ticket.description##
Link to ticket
Please tell me how to write the code or what needs to be done so that each follow-up, or task, or solution or closing of a ticket, is in a new cell of the table?
Last edited by sIBajHYG (2023-08-21 22:32:43)
Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.15.
GLPI Inventory 1.3.5, PHP SAML 1.3.0, Oauth IMAP 1.4.3, Additional Fields, 1.21.8,Ticket Cleaner.
Offline
please share some nice code for pretty notification template ^^
Last edited by sIBajHYG (2023-08-24 21:27:07)
Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.15.
GLPI Inventory 1.3.5, PHP SAML 1.3.0, Oauth IMAP 1.4.3, Additional Fields, 1.21.8,Ticket Cleaner.
Offline
The documentation link you shared is a really great starting point. You can easily modify the HTML code from the documentation to leverage tables (<table><tr><td> etc) instead of the paragraph tag (<p>)
(adding this bit in case it helps someone else updating their templates as well )
Offline
Pages: 1