pluginsGLPI / custom

GLPI Plugin custom (download : https://github.com/TECLIB/custom/releases)
GNU General Public License v2.0
4 stars 2 forks source link

Include Preferences tabs in Custom management #9

Open blerohellec opened 9 years ago

blerohellec commented 9 years ago

Preferences has also tabs, but is not part of the items managed by plugin Custom. Would be nice !

LR69 commented 8 years ago

I had the same problem with an other tab that Custom plugin couldn't manage (cf #15 ). I solved the problem by adding the right name in glpi\plugins\custom\inc\tab.class.php If you add : 'preference' => __("Preference"), in

   public static function getTypes() {
      $types = array(
         'central'          => __("Home"),
         'computer'         => __("Computer"),
         'networkequipment' => __("Network"),
         'printer'          => __("Printer"),
         'preference'       => __("Preference"),
          ...

It should work