Giter Club home page Giter Club logo

hidefields's Issues

version 10

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?

PHP error: undefined index

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()

Other fields to hide

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.