Previous Topic

Next Topic

Locate topic in Contents

Control Panel Menu and Dashboard Customization Modules Location

The files for the Control Panel menu customization are located in different directories but both are named CP.pm. However, the packages used in these files are not the same.

The CP menu customization file is located under the directory:

/var/opt/hspc-root/custom/menu

The CP dashboard customization file is located under the directory:

/var/opt/hspc-root/custom/dash

To customize the Control Panel menu items or dashboard icon controls, it is needed to add a custom code in the CP.pm file located in a corresponding directory. A single method called customize is used. The basic methods are add_item_to_section used to add an item or a section and delete_menu_item or delete_menu_section used to remove an item or a section respectively. Below we will show what you should add to this function in order to customize menu items and dashboard icon controls.

Please send us your feedback on this help page