Widescreen package
-
Posted pull request to file on GitHub, hopefully they will be committed.
-
Merged, thx.
-
I've had a similar problem which I was discussing here: http://forum.pfsense.org/index.php/topic,40570.0.html in the IPv6 forums. I took a look at the original fbegin.inc and compared it to the one from the widescreen package. They seemed to be quite different so I modified the original file with the layout changes that make it work with the widescreen package. I've uploaded a copy to take a look at and hopefully someone will add it to the latest version of the widescreen package.
Edit: Sorry, the version of fbegin.inc I had didn't have the DHCPv6 Relay link in the Services menu. I've reuploaded the new version.
-
I've had a similar problem which I was discussing here: http://forum.pfsense.org/index.php/topic,40570.0.html in the IPv6 forums. I took a look at the original fbegin.inc and compared it to the one from the widescreen package. They seemed to be quite different so I modified the original file with the layout changes that make it work with the widescreen package. I've uploaded a copy to take a look at and hopefully someone will add it to the latest version of the widescreen package.
Edit: Sorry, the version of fbegin.inc I had didn't have the DHCPv6 Relay link in the Services menu. I've reuploaded the new version.
How different is it?
I only found a few links missing.
-
It's not just the missing links but the way the file is written. I believe it uses the old fbegin.inc from version 1.2.3.
There is a few changes such as in the old one a line would like like this:$firewall_menu[] = array("Aliases", "/firewall_aliases.php");
where as in the new one it would look like this:
$firewall_menu[] = array(gettext("Aliases"), "/firewall_aliases.php");
There is also this part that checks if you have the correct user privileges and displays the appropriate link
if (!isAllowedPage("system_usermanager.php*")) $system_menu[] = array(gettext("User Manager"), "/system_usermanager_passwordmg.php"); else $system_menu[] = array(gettext("User Manager"), "/system_usermanager.php");
The changes aren't that big but I believe it's always good to use the most up to date version of the files.
-
That's the difference between fbegin.inc on mainline (what will be 2.1, the "ipv6" code people are using now) and 2.0 proper.
There isn't going to be a good way to just have one file do both without a bit of hacking things up and detecting the version. -
That's the difference between fbegin.inc on mainline (what will be 2.1, the "ipv6" code people are using now) and 2.0 proper.
There isn't going to be a good way to just have one file do both without a bit of hacking things up and detecting the version.jimp,
Do you think going away from the widescreen pkg is the best solution?
I am not the type that likes to look at 1000 of lines of code to try and compare and fix them :)
-
Until the widescreen package has a workaround for 2.1, it would probably be best to not use it. That is, unless you don't actually need any of the menu items that are missing…
-
For now I've just been uploading the modified copy of fbegin.inc after I do an update. Only takes a few seconds to ftp in.
-
how do i uninstall this via CLI? i installed it and it messed the GUI. Can't seem to find it on the installed packages menu.