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

    FOG web interface tuning

    Scheduled Pinned Locked Moved Unsolved Feature Request
    2 Posts 2 Posters 14 Views
    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.
    • H
      heix75
      last edited by

      Hello!

      /var/www/html/fog/management/index.php

      Please include following code in the end of the file - to make the fog menu buttons provide better UX. So that if clicked on menu item, lets say hosts, then all hosts will be shown, instead of clicking on menu button and then list all hosts.

      if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘host’ && empty($_REQUEST[‘sub’])) {
      header(‘Location: index.php?node=host&sub=list’);
      exit;
      }

      if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘image’ && empty($_REQUEST[‘sub’])) {
      header(‘Location: index.php?node=image&sub=list’);
      exit;
      }

      if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘user’ && empty($_REQUEST[‘sub’])) {
      header(‘Location: index.php?node=user&sub=list’);
      exit;
      }

      if (isset($_REQUEST[‘node’]) && $_REQUEST[‘node’] === ‘group’ && empty($_REQUEST[‘sub’])) {
      header(‘Location: index.php?node=group&sub=list’);
      exit;
      }

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @heix75
        last edited by

        @heix75 No.

        Not because it’s not a QOL improvement (it is) but because what you see in 1.5.x.x is NOT what is the end goal.

        If you want to see what the UX is moving toward install the version of FOG on working-1.6.

        You’ll understand (I hope), then, why I’m saying this.

        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
        • Tom ElliottT Tom Elliott moved this topic from Bug Reports
        • 1 / 1
        • First post
          Last post

        121

        Online

        12.6k

        Users

        17.5k

        Topics

        156.4k

        Posts
        Copyright © 2012-2026 FOG Project