• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

AddHostModel and AddHostSerial

Scheduled Pinned Locked Moved
General
4
5
1.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    iyoung
    last edited by May 16, 2017, 4:31 PM

    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

    1 Reply Last reply Reply Quote 0
    • A
      Avaryan
      last edited by May 16, 2017, 5:24 PM

      How did you get those values there?

      W 1 Reply Last reply May 17, 2017, 2:20 AM Reply Quote 0
      • W
        Wayne Workman @Avaryan
        last edited by May 17, 2017, 2:20 AM

        @Avaryan that’s what I’m wondering…

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by May 17, 2017, 2:22 AM

          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

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • I
            iyoung
            last edited by May 18, 2017, 5:12 PM

            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.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post

            279

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project