You are not logged in.
Pages: 1
I would like to make my own plugin(s).
I was wondering if someone could help me with a template (a set of files) to create my own plugin.
A template with the possibility of install/uninstall the plugin, right management and adding one or more tables to the database.
Thanks in advance!
Offline
See the Wiki (Plugin developper)
See the "example" plugin.
+
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
I found an example: https://dev.indepnet.net/plugins/browser/example
This example does not work with glpi0.71.5 and it is not conform the directory structure as I read in the text.
Offline
Offline
This version doesn't work.
Als o a problem with the directory structure and in the file locales\en_GB.php I find a lot of code and it should be only an array declaration.
I created a directory glpi\plugins\example and copied the files there including the dir Locales.
On opening glpi I see a lot of code and not the GLPI interface.
Offline
Pages: 1