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

    2.1.5 widescreen patch - multiple columns on dashboard

    Scheduled Pinned Locked Moved webGUI
    41 Posts 13 Posters 13.9k 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.
    • C
      charlie0440
      last edited by

      Yes. As I said in my opening post. I have not included all he changes here which are in 2.2. If I have some spare time today, I'll back port the fix to 2.1.5 and upload it here

      1 Reply Last reply Reply Quote 0
      • S
        Supermule Banned
        last edited by

        AWESOME!

        1 Reply Last reply Reply Quote 0
        • C
          charlie0440
          last edited by

          @AhnHEL - Was a super simple fix:

          Apply via:

          • System patches using commit:
            https://github.com/CharlieMarshall/pfsense/commit/7a775e8bf1a4771ee8d0217a2f66d415f9abc302

          • Or make the necessary changes yourself via GUI > edit file

          • Or paste the whole file into the broswer via GUI > edit file: https://raw.githubusercontent.com/CharlieMarshall/pfsense/7a775e8bf1a4771ee8d0217a2f66d415f9abc302/usr/local/www/widgets/widgets/picture.widget.php

          Edit: You are not limited to 350 x 350, all images should hopefully now scale

          1 Reply Last reply Reply Quote 0
          • S
            Supermule Banned
            last edited by

            Would it be possible to get this a package for 2.1.5 since its ready and works fine??

            Could it be done easily?

            1 Reply Last reply Reply Quote 0
            • C
              charlie0440
              last edited by

              I read the documentation a while ago about packages and I got really confused  :o

              If someone wants to do it then i'll happily provide the files.

              1 Reply Last reply Reply Quote 0
              • RonpfSR
                RonpfS
                last edited by

                So could I get widescreen under 2.1.4 by just appling the patch https://github.com/CharlieMarshall/pfsense/commit/7a775e8bf1a4771ee8d0217a2f66d415f9abc302 ?

                2.4.5-RELEASE-p1 (amd64)
                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                1 Reply Last reply Reply Quote 0
                • AhnHELA
                  AhnHEL
                  last edited by

                  @charlie0440:

                  Yes. As I said in my opening post. I have not included all he changes here which are in 2.2.

                  Totally missed that part.

                  Much appreciated for your fix, thank you sir.  Works perfectly.  8)

                  AhnHEL (Angel)

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

                    So could I get widescreen under 2.1.4 by just appling the patch

                    Yes.  I'm running it under 2.1.4.

                    1 Reply Last reply Reply Quote 0
                    • RonpfSR
                      RonpfS
                      last edited by

                      @KOM:

                      So could I get widescreen under 2.1.4 by just appling the patch

                      Yes.  I'm running it under 2.1.4.

                      I did a test and it says it can not be reverted ?

                      Patch can be applied cleanly (detail)

                      	Output of full patch apply test:
                      
                      /usr/bin/patch --directory=/ -t -p1 -i /var/patches/54133c3584947.patch --check --forward --ignore-whitespace
                      
                      Hmm...  Looks like a unified diff to me...
                      The text leading up to this was:
                      --------------------------
                      |From 7a775e8bf1a4771ee8d0217a2f66d415f9abc302 Mon Sep 17 00:00:00 2001
                      |From: Charlie Marshall 
                      |Date: Thu, 11 Sep 2014 14:10:25 +0100
                      |Subject: [PATCH] Fix picture widget size & improve browse button
                      |
                      |---
                      | usr/local/www/widgets/widgets/picture.widget.php | 4 ++--
                      | 1 file changed, 2 insertions(+), 2 deletions(-)
                      |
                      |diff --git a/usr/local/www/widgets/widgets/picture.widget.php b/usr/local/www/widgets/widgets/picture.widget.php
                      |index 12aacae..40ecee8 100644
                      |--- a/usr/local/www/widgets/widgets/picture.widget.php
                      |+++ b/usr/local/www/widgets/widgets/picture.widget.php
                      --------------------------
                      Patching file usr/local/www/widgets/widgets/picture.widget.php using Plan A...
                      Hunk #1 succeeded at 73.
                      Hunk #2 succeeded at 81.
                      done
                      
                      

                      Patch can NOT be reverted cleanly (detail)

                      	Output of full patch revert test:
                      
                      /usr/bin/patch --directory=/ -f -p1 -i /var/patches/54133c3584947.patch --check --reverse --ignore-whitespace
                      
                      Hmm...  Looks like a unified diff to me...
                      The text leading up to this was:
                      --------------------------
                      |From 7a775e8bf1a4771ee8d0217a2f66d415f9abc302 Mon Sep 17 00:00:00 2001
                      |From: Charlie Marshall 
                      |Date: Thu, 11 Sep 2014 14:10:25 +0100
                      |Subject: [PATCH] Fix picture widget size & improve browse button
                      |
                      |---
                      | usr/local/www/widgets/widgets/picture.widget.php | 4 ++--
                      | 1 file changed, 2 insertions(+), 2 deletions(-)
                      |
                      |diff --git a/usr/local/www/widgets/widgets/picture.widget.php b/usr/local/www/widgets/widgets/picture.widget.php
                      |index 12aacae..40ecee8 100644
                      |--- a/usr/local/www/widgets/widgets/picture.widget.php
                      |+++ b/usr/local/www/widgets/widgets/picture.widget.php
                      --------------------------
                      Patching file usr/local/www/widgets/widgets/picture.widget.php using Plan A...
                      Hunk #1 failed at 73.
                      Hunk #2 failed at 81.
                      2 out of 2 hunks failed--saving rejects to usr/local/www/widgets/widgets/picture.widget.php.rej
                      done
                      
                      

                      So I should backup picture.widget.php before in case something goes wrong .

                      I guess I have to get the tar file first !

                      2.4.5-RELEASE-p1 (amd64)
                      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                        I should have mentioned that I used to original method from the beginning of the thread:

                        fetch -o /tmp https://dl.dropboxusercontent.com/u/12367642/2.1.5_widescreen.tar.gz
                        tar -zxvf /tmp/2.1.5_widescreen.tar.gz -C /
                        
                        1 Reply Last reply Reply Quote 0
                        • RonpfSR
                          RonpfS
                          last edited by

                          I fetch your tar ball (couldn't fetch doktornotor's one from mega)
                          Then I applied the patch for picture.widget.php
                          Once the patch is applied, it show I can revert it …  ;D

                          2.4.5-RELEASE-p1 (amd64)
                          Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                          Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                          1 Reply Last reply Reply Quote 0
                          • C
                            charlie0440
                            last edited by

                            About patches in pfsense gui. Someone correct me if I'm wrong but I belive when you click test it will only show if it can be applied cleanly. Once applied it will show if it can now be reverted cleanly. It can't be both and you can't revert something which hasn't been changed.

                            I found this confusing at first because the message makes it look like you can apply a patch and not revert it.

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gerard64
                              last edited by

                              @kcallis:

                              I have tried it and I am still getting an issue where the Help tab is right below the System tab. Is there any way that I could just remove help for the time being? This is preventing me from accessing option on the System menu.

                              Go to /etc/inc open globals.inc and find "disablehelpmenu" => false, and change it to "disablehelpmenu" => true,

                              Untitled-1.png
                              Untitled-1.png_thumb

                              1 Reply Last reply Reply Quote 0
                              • RonpfSR
                                RonpfS
                                last edited by

                                Did and upgrade from 2.1.4 to 2.1.5

                                Reinstall the tar ball, widescreen is back but there is no Add/Delete button, so I am stuck with 2 columns display

                                2.4.5-RELEASE-p1 (amd64)
                                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                                  I had the same problem, and it's ongoing.  If I hammer the F5 key quickly twice, my original 4-column layout appears.  A single F5 refresh puts it back into dual-column mode.  Totally bizarre.

                                  1 Reply Last reply Reply Quote 0
                                  • RonpfSR
                                    RonpfS
                                    last edited by

                                    Nice trick … twice F5 bring back the buttons  :o  ;D

                                    F5 and CTRL-F5 doesn't do it  :(

                                    2.4.5-RELEASE-p1 (amd64)
                                    Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                    Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                                      Like I said, totally bizarre.  But it works consistently, so at least there's that.

                                      1 Reply Last reply Reply Quote 0
                                      • RonpfSR
                                        RonpfS
                                        last edited by

                                        Since the last reboot … no more issues with the widescreen patch, I always get 3 columns display  ;D

                                        2.4.5-RELEASE-p1 (amd64)
                                        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                                          Ah, well there you go.  I haven't rebooted since the 2.1.5 upgrade.

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            firefox
                                            last edited by

                                            @charlie0440:

                                            If your issues with the menu wrapping on pfsense (not caused by the patch but code adding in 2.1.5). Go to system > patches and apply this commit:

                                            https://github.com/CharlieMarshall/pfsense/commit/2b5c16b9c6ee3dcb9a1333b44949f48024eb3cd0
                                            

                                            I do not have this option under system
                                            I use pfsense 2.1.5

                                            Where it goes ?

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