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

    Dashboard Widgets

    Scheduled Pinned Locked Moved pfSense Packages
    24 Posts 11 Posters 9.7k 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.
    • jahonixJ
      jahonix
      last edited by

      @sdale:

      http://www.pfsense.org/~sdale/creating%20widgets.pdf to view the pdf for creating widgets.

      Are you sure about the widget's path you specify in the .PDF?
      I saw mine at: /usr/local/**www/**widgets/…

      1 Reply Last reply Reply Quote 0
      • Y
        yoda715
        last edited by

        @jahonix:

        @sdale:

        http://www.pfsense.org/~sdale/creating%20widgets.pdf to view the pdf for creating widgets.

        Are you sure about the widget's path you specify in the .PDF?
        I saw mine at: /usr/local/**www/**widgets/…

        Oops. Corrected now. Thanks!

        1 Reply Last reply Reply Quote 0
        • O
          omegadraconis
          last edited by

          So after a few hours of running the package I check the first page and found the below image. I'm using snapshot 1.2-BETA-1-TESTING-05-27-2007. Nothing in the system log or package log. Shows the same way in ie and in firefox. A reboot did not clear it up.

          I also can't remove that package and re-installing didn't work. Just hangs and gives me:
          "Removing package…
          Loading package configuration dashboard.xml...
          Loading package instructions..."

          widget.jpg
          widget.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • Y
            yoda715
            last edited by

            Try using the nervecenter theme.

            1 Reply Last reply Reply Quote 0
            • O
              omegadraconis
              last edited by

              @sdale:

              Try using the nervecenter theme.

              Did that didn't change anything. I did get it to work again after trying a few things. I did a backup and restore of my config file, then I reinstalled all packages, it still wasn't working but, then I was able to delete dashboard and re-install it. It may have been a problem with my other packages, a few seemed to be messed up.

              1 Reply Last reply Reply Quote 0
              • B
                ben.suffolk
                last edited by

                @omegadraconis:

                So after a few hours of running the package I check the first page and found the below image. I'm using snapshot 1.2-BETA-1-TESTING-05-27-2007. Nothing in the system log or package log. Shows the same way in ie and in firefox. A reboot did not clear it up.

                I also can't remove that package and re-installing didn't work. Just hangs and gives me:
                "Removing package…
                Loading package configuration dashboard.xml...
                Loading package instructions..."

                I had this when I upgraded to the latest snapshot, well actually I had the default home page, and the package installed, so I tried to delete the package so that I could reinstall it, but got the same as you.

                What I did was download the XML config, remove the package entry from it, upload it again. Then I could reinstall the package again. When I reinstalled it still did not change the home page from the default, but I delete it (which worked fine this time) then installed it again, and its all back (but still can't get logs or graphs to work).

                Ben

                1 Reply Last reply Reply Quote 0
                • L
                  luma
                  last edited by

                  Hi,

                  pFSense rocks :)

                  Is there a way to install this package on embedded snapshot?

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • Y
                    yoda715
                    last edited by

                    In the upcoming 1.3 Release all versions, including embedded, will have the dashboard installed by default. Once 1.2 is out the door the beta for 1.3 will follow shortly after that.

                    1 Reply Last reply Reply Quote 0
                    • L
                      luma
                      last edited by

                      Excellent news!

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • M
                        morbus
                        last edited by

                        I am trying to make a carp status widget starting with the code from the interfaces widget and the carp status page and using the pdf as a guide.

                        I made something that I think might work and tried to get it to show on the dashboard. It is in the menu for adding but nothing happens it just stays the same.

                        So I guessed my code had bugs (normally does) so I tried a hello world widget

                        
                        | Hello world |
                        | Hello world |
                        
                        

                        same problem so I copied the Interfaces widget renaming it interfaces2 and this also wont show on the page.
                        the firefox error console says

                        Error: element has no properties
                        Source File: https://pfwall.example.com/javascript/scriptaculous/effects.js
                        Line: 561

                        Do I need to do something extra to make the widget show some config etc???

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • Y
                          yoda715
                          last edited by

                          @morbus:

                          Do I need to do something extra to make the widget show some config etc???

                          Yes. Here is the code that makes the traffic graphs widget configurable:

                          Refresh Interval:
                          <select name="refreshInterval" class="formfld" id="refreshInterval" onchange="updateGraphDisplays();"><option value="1" <?php="" if="" ($refreshinterval="=" "1")="" echo="" "selected";?="">>1</option> <option value="2" <?php="" if="" ($refreshinterval="=" "2")="" echo="" "selected";?="">>2</option> <option value="3" <?php="" if="" ($refreshinterval="=" "3")="" echo="" "selected";?="">>3</option> <option value="4" <?php="" if="" ($refreshinterval="=" "4")="" echo="" "selected";?="">>4</option> <option value="5" <?php="" if="" ($refreshinterval="=" "5")="" echo="" "selected";?="">>5</option></select>   Seconds
                                Note: changing this settings can affect CPU Performance on the pfSense Box

                          You have to have thein there with the -setting postfix. You also have to make sure the hidden shown below:

                          1 Reply Last reply Reply Quote 0
                          • M
                            morbus
                            last edited by

                            Sorry I may not have been clear in the last post. This widget doesn't need any config it just displays the carp status.
                            Actually yesterday I reinstalled the Dashboard package and the widget started displaying and working guess someone had made some changes.

                            I posted it here http://forum.pfsense.org/index.php/topic,5407.0.html and sullrich has committed it ;D

                            Does the widget need config data even if it has no config options??

                            Thanks for the help

                            1 Reply Last reply Reply Quote 0
                            • Y
                              yoda715
                              last edited by

                              @morbus:

                              Does the widget need config data even if it has no config options??

                              Nope. Only if you have information you want to save and use for later.

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