Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jb on December 20, 2003, 06:51:07 AM

Title: server-manager panels
Post by: jb on December 20, 2003, 06:51:07 AM
Hello,

I need some help in better understanding how to create a server-manager panel and how to get that panel to show up under the correct section.  (i.e. Collaboration, Security, etc.)

Some of the contribs I have installed show up under unknown.  so, if I could better understand the process I may be able to help the owner of the contrib update their rpm's, etc. to get the selection to show up in the server-manager screen correctly.

Thanks for all you can and do help.

JB
Title: Re: server-manager panels
Post by: Rick Jones on December 20, 2003, 04:03:25 PM
This is done simply by using special comment lines near the top of the panel script. The lines are (e.g.):

# heading     : Security
# description : Local networks
# navigation  : 1000 1300

All panels with the same 'heading' appear under that heading, each panel's entry is 'description', and the ordering is dependent on the values in 'navigation'. The first number is the order in which the headings appear, the second is the relative position of the panel itself. These are easily tweakable to re-order the menu.

All the files are in /etc/e-smith/web/functions, with symlinks from /etc/e-smith/web/panels/...

HTH
Title: Re: server-manager panels
Post by: Arne on December 20, 2003, 05:24:24 PM
Don't know if this will help, but there is a contrib that can make some redisigh of the server manager panels.

http://mirror.contribs.org/smeserver/contribs/jprice/contribs/

I have tested it on a 6.0 and it sems to be working rather ok. Tried to find a simular contrib for the 5.6, but could not find that.
Title: Re: server-manager panels
Post by: jb on December 20, 2003, 07:49:19 PM
Arne,

Didn't even know that contrib existed.  I installed it and it does the job I need.

Thanks,

JB
Title: Re: server-manager panels
Post by: jb on December 20, 2003, 07:53:41 PM
Rick,

I had tried that, but it wasn't working.  The contrib Arne pointed out does the job.
After I made my change, I went to the functions directory and the information there hadn't changed.  But, there was an entry for the panel in /home/e-smith/db/navigation/navigation.en-us.  So, it looks like things may have change from 5.6 to 6.0.  I do remember reading something about the db stuff changing.
Thanks for your help, because it did point me into the right direction.

JB
Title: Re: server-manager panels
Post by: jb on December 20, 2003, 09:05:28 PM
Rick,

Did a little more searching and found that if I run this:
/etc/e-smith/events/actions/navigation-conf

Then the panels will update per the settings.  But, it does give a crap load of FormMagick errors.

JB
Title: Thanks
Post by: Jakeo on April 01, 2004, 02:20:21 PM
That solved my problem too, many thanks!

what exactly are all the FormMagick errors tho?

Richard
Title: server-manager panels
Post by: arnoldob on June 25, 2004, 07:07:54 PM
I installed the jprice contrib from:
http://mirror.contribs.org/smeserver/contribs/jprice/contribs/e-smith-navmanager/

and it worked perfectly. Was able to move an unknown panel entry. The problem was that everytime I installed a new panel a DHCP panel contrib would show as unknown and require a reboot to place it correctly. Running navigation-conf never helped the situation. It's a minor issue but somehow offends my sense of order :)

Cheers
Arnoldo