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 2013-02-06 19:49:27

ftrojahn
Member
Registered: 2012-12-07
Posts: 8

Plugin development: How to change tab order?

Hello @all,

we are just writing a plugin for checking software updates. When viewing a software item,
as it would be better to have our "Updatecheck" tab near "Versions/Licenses" and "Installations":

Is there any possibility to set the position of our tab during plugin setup,
or any other way how we could personalize this?

Additional question: is there any official doxygen or other recent documentation about
classes and functions of GLPI core (and plugins)?

Thanx in advance,
Falko

Offline

#2 2013-02-06 20:20:44

gbedjefa
Member
Registered: 2013-02-06
Posts: 3

Re: Plugin development: How to change tab order?

Bonjour,
j'utilise debian squeeze (6° pour realisr un projet. j'ai installer GLPI et ocs inventory. J'aimerais installer les plugins de GLPI mais je ne sais pas où se troouve le repertoire du dossier glpi/plugins. svp vous pouvez me donner le repertoire de plugins sur debian 6

Offline

#3 2013-02-06 22:30:52

ftrojahn
Member
Registered: 2012-12-07
Posts: 8

Re: Plugin development: How to change tab order?

gbedjefa wrote:

Bonjour,
j'utilise debian squeeze (6° pour realisr un projet. j'ai installer GLPI et ocs inventory. J'aimerais installer les plugins de GLPI mais je ne sais pas où se troouve le repertoire du dossier glpi/plugins. svp vous pouvez me donner le repertoire de plugins sur debian 6

Bonjour,

bien, c'est le forum Anglais ici, mais bien sûr, si j'utilise Debian aussi:
sous Debian on trouve le repertoire pour installer le plugins dans
/usr/share/glpi/plugins/. En login avec utiliseur "root" on fait enregistrer
le plugins la.

Salut,
Fallko

Offline

#4 2013-02-07 12:32:32

gbedjefa
Member
Registered: 2013-02-06
Posts: 3

Re: Plugin development: How to change tab order?

Merci bocou mais c'est bizare dans mon repertoire usr/share y a pas de repertoire glpi/plugins. J trouve ca dans var/www et on refuse même en mode super utilisateur d'y copier le dossier décompressé tracker

Offline

#5 2013-02-08 10:54:34

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

Re: Plugin development: How to change tab order?

ftrojahn : for which version of GLPI ?


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

Offline

#6 2013-02-08 11:59:14

ftrojahn
Member
Registered: 2012-12-07
Posts: 8

Re: Plugin development: How to change tab order?

yllen wrote:

ftrojahn : for which version of GLPI ?

ATM we use 0.80.7 (on Debian Squeeze 6.0.6) and 0.83.31 (IMHO from backports).

Thanx!
Falko

Offline

#7 2013-02-08 13:03:34

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

Re: Plugin development: How to change tab order?

In 0.80 change the order of your case in ajax/xx.tab
In 0.83 it's in displayTabContentForItem of the class

But tabs of a plugin are always and the end.


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

Offline

#8 2013-02-12 12:40:33

ftrojahn
Member
Registered: 2012-12-07
Posts: 8

Re: Plugin development: How to change tab order?

Hello yllen,

thank your very much for your reply. In our updatecheck plugin tab,
we now just list the installed computers and the version of the installed
software accordingly. So we don't have to switch tabs too often.

Just for the record: the doxygen documentation is in
https://forge.indepnet.net/embedded/glpi/index.html

Best regards,
Falko

Offline

Board footer

Powered by FluxBB