You are not logged in.
Hello everyone,
I'm trying to add a new button under the Management tree for the super-admin main interface that I'm gonna develop eventually. I've been digging into the files for so long and I ended up in a closed path. What I want to know is simply where to find the file responsible for rendering the home page in GLPI so I can add the button and work my way up from there.
Offline
you can write your own plugin and use the redefine_menu hook
function plugin_yourplugin_redefine_menus($menu) {
$menu['youritem']['default'] = Plugin::getWebDir('yourplugin') . '/front/index.php';
$menu['youritem']['title'] = 'Use you plugin';
$menu['youritem']['icon'] = 'fas fa-dollar-sign';
}
return $menu;
}
Offline