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

    Edit hostlisting

    Scheduled Pinned Locked Moved
    General
    2
    3
    309
    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.
    • S
      sebao
      last edited by sebao

      Hello,
      this is my first topic and my englisch isn’t so good. Sorry for that. 😉

      I try so find a way, how i can edit the Hostlisting bootstrap table. I will include a new column, exactly the Serial Number column for the Host from the mysql DB. Is that possible?

      I’m looking for the hostlisting.php in the www/html/ directory. The Userlisting.php, Printerlisting.php etc. are available. But i can’t find the hostlisting.php… In which file ist the Host bootstrap table for the Hostlisting?

      Thank you for your help.

      Sebao

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @sebao Hi and welcome to the forums!

        The Userlisting.php, Printerlisting.php etc. are available.

        Those files are not used for listing the information in the web UI. So if you want to change the hosts table you want to take a look at the file /var/www/html/fog/lib/pages/hostmanagementpage.class.php. On line 165 (version 1.5.8 of FOG, might be a little different for other versions) you find the start of where this table is created. We use three arrays (headerData, templates and attributes) to put together the information which is then rendered to a HTML table in another place in the code.

        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 1
        • S
          sebao
          last edited by

          Thank you. That was very helpful. I’m still working on it.

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

          166

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project