How do you change the pull-down menu around?
-
I would like to change the order of some of the items under the service pull down.. How would I go about that? I've attach a pic so you have an idea what i want to do
-
The menu is built by /usr/local/etc/www/fbegin.inc
The system default options are in there, and then the ones collected from packages are at the end, but those are pulled dynamically.
You might look at the same code from the 2.0 branch, it sorts the whole menu alphabetically.
-
thanks!ย How does it pull them dynamically? They are always in order from which i install the packages. Wondering if I could move the order they are in from the file it reads when it makes the menu
-
I think it just pulls the list of installed packages from the config (The $config variable, it doesn't read the file every time)
Not sure those can be reordered easily, short of hand editing the config.
-
Thanks again! I got it now.. I move the items that start with
<menu>also i was able to change what section they are in my changing the field after
I only have a couple i want to move around so it shouldn't be a big deal. Change them in the file then reboot the system
</menu>