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 2016-08-18 13:20:40

hadarisas
Guest
Registered: 2016-08-18
Posts: 6

Solution Template

Good Day,

I am having trouble aplying a solution template to glpi

after adding a new solution template (contain a form) to glpi

viewer.php?id=877705capture.jpg

after fulfill the form in the solution template and click to save the solution, the forms become empty

Last edited by hadarisas (2016-08-18 13:23:21)

Offline

#2 2016-09-02 09:08:25

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

Re: Solution Template

I don't understand your picture. It's not the standard solution form.
Do you use a plugin?
Which version of GLPI?


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

Offline

#3 2016-09-02 09:25:47

hadarisas
Guest
Registered: 2016-08-18
Posts: 6

Re: Solution Template

I'm not using any pluging
I'm just trying to add a new solution template using HTML Code
(Setup > Dropdowns > Assistance > Solution Templates)

Offline

#4 2016-09-02 09:55:59

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 4,159

Re: Solution Template

<input> in html form submit values but dont store them. so, on save input content are not save in db.

you can use a table instead :

<table>
<tbody>
<tr>
<td>item</td>
<td>value</td>
</tr>
<tr>
<td>name</td>
<td></td>
</tr>
<tr>
<td>diagnostic</td>
<td></td>
</tr>
<tr>
<td>action</td>
<td></td>
</tr>
</tbody>
</table>


Trouver la panne avant de réparer...
*GLPI 9.1.6+fusion9.1+1.1+behaviours1.5.0+reports+fields+appliances+pdf+badges+formcreator2.5.2 PHP7.0 Mariadb10
*GLPI 9.2.4(behaviours1.5.2+fusion9.2+1.0+applicatifs2.3.0+dashboard 0.8.9)hebergé sur serveur mutualisé.
*GLPI 9.3.1  en test (ubuntu 16.04 mariadb 10.2.4)

Offline

#5 2016-09-02 09:59:11

hadarisas
Guest
Registered: 2016-08-18
Posts: 6

Re: Solution Template

yeah you are right I was using a form in HTML code
I will try to use a table and I will let you know the result
thank you

Offline

#6 2016-09-02 10:03:07

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 4,159

Re: Solution Template

it is quite tricky to save tables in the html editor -> i update my templates with phpmyadmin when i need tables.

UPDATE `glpi`.`glpi_solutiontemplates` SET `content` = '
<table>
<tbody>
<tr>
<td>item</td>
<td>value</td>
</tr>
<tr>
<td>name</td>
<td></td>
</tr>
<tr>
<td>diagnostic</td>
<td></td>
</tr>
<tr>
<td>action</td>
<td></td>
</tr>
</tbody>
</table>' WHERE `glpi_solutiontemplates`.`id` =4;


Trouver la panne avant de réparer...
*GLPI 9.1.6+fusion9.1+1.1+behaviours1.5.0+reports+fields+appliances+pdf+badges+formcreator2.5.2 PHP7.0 Mariadb10
*GLPI 9.2.4(behaviours1.5.2+fusion9.2+1.0+applicatifs2.3.0+dashboard 0.8.9)hebergé sur serveur mutualisé.
*GLPI 9.3.1  en test (ubuntu 16.04 mariadb 10.2.4)

Offline

#7 2016-09-02 10:16:43

hadarisas
Guest
Registered: 2016-08-18
Posts: 6

Re: Solution Template

thank you I will try to change the style and size of the table

Offline

#8 2018-09-15 17:26:01

Tung Nguyen
Guest
Registered: 2018-09-15
Posts: 1

Re: Solution Template

Hi Everyone,

Please help me support solution template as:
Arrive Time: <Get current date time with type DD/MM/YYYY HH:MM>
Leave Time: <Get current date time with type DD/MM/YYYY 00:00>
Root cause: The cable signal was cut at RJ 11 connector
Solution:
- Step 01: Replaced a new RJ11
- Step 02: MIC confirmed

Thanks smile

Offline

Board footer

Powered by FluxBB