AddHostModel and AddHostSerial



  • FOG Version: 1.4.0

    When I enable these hooks, the values show up on the Host Management page as they should. But one thing that I’ve noticed is that the size of the overall bar/column at the top of the table stays the same size, such that, when you enable one option, everything on a row is pushed closer together. Enabling both hooks removes the ability to do quick tasks from the Host Management page.

    My question is: Is there a way to widen the top bar so that everything shows up when both hooks are enabled or is that something that would have to be changed in the code in multiple places?

    0_1494948854682_add_serial_off.PNG
    0_1494948871061_add_serial_on.PNG
    0_1494948999005_add_both_on.PNG



  • Sorry on the late response. Yes to what @Tom-Elliott said, I went to /var/www/fog/lib/hooks/ and set active = true on the aforementioned hooks.


  • Senior Developer

    He set the active = false to active=true
    in /var/www/fog/lib/hooks/addhostserial.hook.php
    and /var/www/fog/lib/hooks/addhostmodel.hook.php



  • @Avaryan that’s what I’m wondering…



  • How did you get those values there?


 

515
Online

41.6k
Users

12.1k
Topics

114.3k
Posts