Originally I wanted to create a Left Side Link called "Server Statistics". I was going to create a direct link to the installed e-smith-phpSysInfo contrib RPM (from
ftp://ftp.e-smith.org/pub/e-smith/contrib/charlieb/) so that I get a nice graphical display of lots of information, including disk usage and memory stats.
I copied "online-manual" in the /etc/e-smith/web/functions directory to "serverstats"
I modified the header to:
#----------------------------------------------------------------------
# heading : Administration
# description : Server Statistics
# navigation : 4000 4325
#
And modified the footer to:
#------------------------------------------------------------
# subroutine to display initial form
#------------------------------------------------------------
sub showInitial ($)
{
my ($q) = @_;
esmith::cgi::genHeaderNonCacheable ($q, \%conf, 'Server Statistics');
print $q->p (
'Ckick on the following lonk to see your current E-Smith server',
'disk usage, memory usage and other information:',
);
print $q->p (
'
',
'Server Statistics',
);
esmith::cgi::genFooter ($q);
}
1) I cannot get the menu to show up and,
2) I would rather create a direct link from the left side to the right side something like this:
Server StatisticsI have read the following:
http://www.e-smith.org/docs/howto/building-contribs.php3#AEN161and it does not seem to help.
also owner of "online-manual" is admin while owner of "serverstats" is root.
Does this matter and how can I change it to admin?
Thanks
Richard Emory