Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Changes on webGUI

    Scheduled Pinned Locked Moved webGUI
    12 Posts 4 Posters 2.0k 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.
    • KOMK
      KOM
      last edited by

      Hello, some Features same as Packet Manager in webGUI are disabled

      Never heard of Packet Manager.  Did you mean Package Manager, or Packet Capture?

      I got the System from someone else and don't know which file is changed

      You might considering reinstalling everything.  I'm not aware of any option that would make System - Package Manager or Diagnostics - Packet Capture disabled.

      1 Reply Last reply Reply Quote 0
      • A
        alivdel
        last edited by

        @KOM:

        Hello, some Features same as Packet Manager in webGUI are disabled

        Never heard of Packet Manager.  Did you mean Package Manager, or Packet Capture?

        I got the System from someone else and don't know which file is changed

        You might considering reinstalling everything.  I'm not aware of any option that would make System - Package Manager or Diagnostics - Packet Capture disabled.

        thanks for reply. Sorry yes i mean Package Manager.
        first if we Forget enabling or disabling them, how can i remove for example OpenVPN Icon under VPN from GUI? or how can i add a new Icon call it new under VPN. which file should be changed?

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          No idea.  That is a development question.  You're asking how to edit the menus to remove the OpenVPN option and replace it with something else?  I can't imagine why you would do this.

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            @alivdel:

            …. or how can i add a new Icon call it new under VPN. which file should be changed?

            If you could 'read' en 'edit' PHP files, you would also have the knowledge where to find these files - even on a device like pfSense.
            So, locate the files (page) and change whatever you like.

            If this means anything to you : the entire pfSense project is available @ github - and accessible on your pf Sense device. Just use the console, option 8 (or use a SFTP like FieZilla) and poke around. It's 'nothing more' then a basic FreeBSD OS, a nginx webserver, boatloads of GUI code (PHP - Java, stye sheets, etc) and several programs sourced from C - and several thousand (multiple !) of man hours gluing it all together..

            But there is no manual that says : "edit this line if you want to show that text on this page". pfSense is open source. So you get the source and you deal with it. Source guidance does not exist, as far as I know. GUI programmers don't need guidance. And even if they do, they communicate not on this forum. These people tend to isolate themselves for a reason.

            Also : checkout github : GUI 'source code' is changed daily.

            edit : but to get you straight in "no-time" :
            First : do you run this :

            2.4.2-RELEASE-p1 (amd64)
            built on Tue Dec 12 13:45:26 CST 2017
            FreeBSD 11.1-RELEASE-p6
            

            ?
            If yes, : make a copy of the config file, and re-install completely (because your system is trafficked with, or borked) - takes 10 minutes.
            If no : make a copy of the config file, and re-install completely (because your system is trafficked with, or borked) - take the latest version - takes 10 minutes.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • A
              alivdel
              last edited by

              @Gertjan:

              @alivdel:

              …. or how can i add a new Icon call it new under VPN. which file should be changed?

              If you could 'read' en 'edit' PHP files, you would also have the knowledge where to find these files - even on a device like pfSense.
              So, locate the files (page) and change whatever you like.

              If this means anything to you : the entire pfSense project is available @ github - and accessible on your pf Sense device. Just use the console, option 8 (or use a SFTP like FieZilla) and poke around. It's 'nothing more' then a basic FreeBSD OS, a nginx webserver, boatloads of GUI code (PHP - Java, stye sheets, etc) and several programs sourced from C - and several thousand (multiple !) of man hours gluing it all together..

              But there is no manual that says : "edit this line if you want to show that text on this page". pfSense is open source. So you get the source and you deal with it. Source guidance does not exist, as far as I know. GUI programmers don't need guidance. And even if they do, they communicate not on this forum. These people tend to isolate themselves for a reason.

              Also : checkout github : GUI 'source code' is changed daily.

              edit : but to get you straight in "no-time" :
              First : do you run this :

              2.4.2-RELEASE-p1 (amd64)
              built on Tue Dec 12 13:45:26 CST 2017
              FreeBSD 11.1-RELEASE-p6
              

              ?
              If yes, : make a copy of the config file, and re-install completely (because your system is trafficked with, or borked) - takes 10 minutes.
              If no : make a copy of the config file, and re-install completely (because your system is trafficked with, or borked) - take the latest version - takes 10 minutes.

              thanks for your reply, actually i know how to edit a php file, i'v already changed a lot. but in this case the Problem is i cant find the proper file which is used for menu, if i know which file is, i can easily edit it.
              and the way you suggested (reinstallling) is not a good solution for me, because i need to make some changes in menu for a short time (add some Icons) and delete them again after that. if i reinstall the System ya sure i have all of Options back but i cant delete them again, thats why i Need to find the proper php file.

              1 Reply Last reply Reply Quote 0
              • A
                alivdel
                last edited by

                @KOM:

                No idea.  That is a development question.  You're asking how to edit the menus to remove the OpenVPN option and replace it with something else?  I can't imagine why you would do this.

                that was an example, i wanted to explain what exactly i mean. and my Problem is not how to edit but which file to edit. i cant find the proper php file for menu. for example i wanted to add some rules for Password authority of users, that was under system_usermanager.php file. But which file is used for main menu. that is my question.
                thanks.

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by

                  @alivdel:

                  …. i Need to find the proper php file.

                  Before I have a look : what pfSense version ?
                  As said, I'm using the latest = 2.4.2.

                  Open a shell, and

                  cd  /usr/local/www
                  grep 'Package Manager' *
                  

                  The menu is hard coded in /usr/local/www/head.inc (among others).
                  Or, at least, it should be there - in your case.

                  The "Packet Manager" is also referenced in other files.

                  Use pfsense@github to compare with what you have, and what should be there.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • A
                    alivdel
                    last edited by

                    @Gertjan:

                    @alivdel:

                    …. i Need to find the proper php file.

                    Before I have a look : what pfSense version ?
                    As said, I'm using the latest = 2.4.2.

                    Open a shell, and

                    cd  /usr/local/www
                    grep 'Package Manager' *
                    

                    The menu is hard coded in /usr/local/www/head.inc (among others).
                    Or, at least, it should be there - in your case.

                    The "Packet Manager" is also referenced in other files.

                    Use pfsense@github to compare with what you have, and what should be there.

                    thanks a lot, (/usr/local/www/head.inc ) this file is exactly what i wanted.

                    1 Reply Last reply Reply Quote 0
                    • K
                      Katharine
                      last edited by

                      I try to do as you said but still can not solve the problem.

                      1 Reply Last reply Reply Quote 0
                      • A
                        alivdel
                        last edited by

                        @Katharine:

                        I try to do as you said but still can not solve the problem.

                        which part you mean you tried to do and could not solve the Problem? can you explain more about the Problem.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.