mateusznitka / protocolsmanager

GLPI Plugin to report users inventory
8 stars 13 forks source link

Template editor in GLPI #15

Closed Speirs47 closed 4 years ago

Speirs47 commented 4 years ago

It would be nice if there would be an editor for template.php in GLPI, not necessary WYSIWYG, simple html editor would be enough. It could also include an option to show preview. I'm not really fluent with HTML so it took me 2 hours to modify template.php to my needs including generating new PDF with each change.

mateusznitka commented 4 years ago

I have some plans with user-frienldy editor but not for now, because there is a lot of other things to do with plugin.

But can you describe me what exactly you edited in template and what you expect from future editor? Did you completely rebuilded template or just changed sizes, marigins etc? Can you send me some example pdf with your modifications?

Regards

Speirs47 commented 4 years ago

Bez nazwy

Here's one of my reports. I changed locations of content text, image, document number and that's it.

mateusznitka commented 4 years ago

Hi, I added in new release textarea above the table. Ofc it's not exactly what you have there but a little step forward. Moreover, you can now use fields: {owner}, {admin} and {cur_date} in your template to show user name, admin name and current date.

Regards