|
The Control Panel menu structure
is represented in XML file.
Its default location
is set in ~cpanel/shiva/psoft_config/hsphere.properties
by the MENU_CONFIG paramteter:
MENU_CONFIG=/hsphere/local/home/cpanel/shiva/psoft/hsphere/menu.xml
You should not make changes in the default menu.xml file, because these changes
will be lost with the next H-Sphere upgrade. Instead, you create custom XML files
overriding default configuration.
Login as cpanel under root:
su -
su -l cpanel
Create the custom ~cpanel/shiva/custom/xml directory if you haven't done this yet.
Copy the default ~cpanel/shiva/psoft/hsphere/menu.xml file to that directory:
cp ~cpanel/shiva/psoft/hsphere/menu.xml
~cpanel/shiva/custom/xml/menu.xml
Make changes to menu.xml in custom directory.
See menu.xml description for details.
In ~cpanel/shiva/psoft_config/hsphere.properties, change MENU_CONFIG to
the custom XML file:
MENU_CONFIG = /hsphere/local/home/cpanel/shiva/custom/xml/menu.xml
Logout from cpanel back to root and
restart H-Sphere to apply changes.
Note, however, you will not see improvements in the default menu.xml coming with the next updates.
|