OK. In setup.php
you have this function : function plugin_sgbd_MassiveActionsDisplay with this case "plugin_sgbd_install": $types[]=COMPUTER_TYPE; $types[]=SOFTWARE_TYPE; $types[]=USER_TYPE; $types[]=TRACKING_TYPE; You can test it with adding PLUGIN_HOLE_TYPE :D ++ On Sun, 24 Aug 2008 09:53:09 +0200, "Anton Melser" <[EMAIL PROTECTED]> wrote: > 2008/8/23 Tsmr <[EMAIL PROTECTED]>: >>> Par contre, sur l'écran de >>> recherche/liste, ça semble être assez générique, mais je comprends >> pas >>> comment rajouter la valeur d'un plugin. >> >> J'ai pas tout compris là. > > Ok... I'll try in English. In the main section of the plugin where the > existing databases are listed and where it is also possible to filter > (and thus search), one can selected databases and perform a number of > actions. One of the actions is "associate". Currently, one can > associate to a machine, a network asset or a ticket. These actions > seem to be related to a "massive action" notion whereby one can select > multiple databases and then apply the said action to all the selected > databases. My question is "how do I add items to the list?". In other > plugins there are many more items in the list that is filled when one > choses the "associate" action, including items from other plugins. I > would like to be able to associate items that come from the hole > plugin. Any pointers? > Cheers > Anton > >> wrote: >>> Bonjour, >>> Ok, j'ai compris comment faire pour afficher hole dans le plugin sgbd, >>> et l'association marche bien. Par contre, sur l'écran de >>> recherche/liste, ça semble être assez générique, mais je comprends >> pas >>> comment rajouter la valeur d'un plugin. J'ai regardé dans showList >>> dans search.function.php, et j'ai trouvé dropdownMassiveAction, mais >>> là je peine à comprendre. Une fois sur l'objet, c'est juste un rajout >>> en dur dans le code, mais à ce niveau là (pour l'asso en masse) c'est >>> pas pareil... >>> Qqn aura une piste ? >>> Merci >>> Anton > > _______________________________________________ > Glpi-dev mailing list > Glpi-dev@gna.org > https://mail.gna.org/listinfo/glpi-dev -- Tsmr Plugins Developper www.thetsmr.fr _______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev