You are not logged in.
Hello and thanks for all,
How I can create a similar section as 'operation system'? I create a table (glpi_goinit) with 'n' coloms, this table have a ID linked with ID computer. GLPI v 9.1
I modified this files:
computer.class.php
//line 133
->addStandardTab('Goinit', $ong, $options);
//line 1179
$tab[167]['table'] = 'glpi_goinit';
$tab[167]['field'] = 'name';
$tab[167]['name'] = __('Goinit');
$tab[167]['datatype'] = 'dropdown';
relation.constant.php
//line 250
"glpi_goinit"
=> array('glpi_computers' => 'goinit_id'),
I create this files
/front/goinit.form.php //same as operationsystem.form.php
/inc/goinit.class.php //same as operationsystem.class.php
That make me missing?
Offline
Name of the table must always be in plural
Number used in getSearchOptions is already use by computer antivirus
In operatingsystem you have nothing to display tab or its content.
If you want to add a new tab, create a plugin to do that
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