tomolimo / hidefields Goto Github PK
View Code? Open in Web Editor NEWGLPi plugin to hide fields on ticket creation simplified interface form
GLPi plugin to hide fields on ticket creation simplified interface form
Is there a possibility of updating this plugin to version 10? Or is there anything we can do to make it work on version 10?
It's not an issue, but in case you need to hide these fields
"Hardware Type"
"Location"
"Watchers"
You can add these lines in the js file :
$("[name=my_items]").parents('tr').css('display', 'none');
$("[title=Watcher]").parents('tr').css('display', 'none');
$("[name=locations_id]").parents('tr').css('display', 'none');
Or course, regarding the "Watcher", it only works if your language is English
Undefined indexes may seem a minor complaint, but it leads to log spammng :(
*** PHP Notice(8): Undefined index: glpiactiveprofile
Backtrace :
plugins/hidefields/setup.php:16
inc/plugin.class.php:146 plugin_init_hidefields()
inc/includes.php:116 Plugin::load()
front/cron.php:43 include()
...hare/php/Zend/Loader/StandardAutoloader.php:290 include()
...hare/php/Zend/Loader/StandardAutoloader.php:231 Zend\Loader\StandardAutoloader->loadClass()
: Zend\Loader\StandardAutoloader->autoload()
: spl_autoload_call()
plugins/tag/inc/tag.class.php:579 class_exists()
plugins/tag/setup.php:96 PluginTagTag::getCurrentItemtype()
inc/plugin.class.php:146 plugin_init_tag()
inc/includes.php:116 Plugin::load()
front/cron.php:43 include()
The Plugin is very useful for me.
Is it possible to include a line in the code to hide the ticket type (requisition / incident)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.