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 2009-02-04 11:17:46

Feike
Member
Registered: 2009-02-02
Posts: 47

Create a Plugin

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

#2 2009-02-04 11:37:54

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Create a Plugin

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

#3 2009-02-04 14:08:59

Feike
Member
Registered: 2009-02-02
Posts: 47

Re: Create a Plugin

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

#4 2009-02-04 14:45:01

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Offline

#5 2009-02-04 15:33:37

Feike
Member
Registered: 2009-02-02
Posts: 47

Re: Create a Plugin

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

Board footer

Powered by FluxBB