Mod Order

To change the order of the CoffeeCP section in cPanel, follow below:

 

4. Open the /coffeecp_master/install.json file with your favourite text editor or VI

 

5. Update "order" node in the first section ("7" below):

			           
              {
              "order" : 7,
"name" : Java Tools",  
"type" : "group",
"id" : "coffeecp_modplugins"
}

 

Lower numbers will cause the section to appear higher up in cPanel. Higher numbers will cause it to appear lower down.

 

Finally, to register the changes, we need to run the required mod commands.

 

As root, log in via SSH and change to the /usr/local/cpanel/base/frontend/paper_lantern/ directory

cd /usr/local/cpanel/base/frontend/paper_lantern

 

Update the coffeecp_master archive:

tar cfj coffeecp_master.tar.bz2 coffeecp_master

 

Register the new archive with cPanel:

/usr/local/cpanel/scripts/install_plugin /usr/local/cpanel/base/frontend/paper_lantern/coffeecp_master.tar.bz2

 

The above creates a new coffeecp_master archive and then registers it with cPanel. cPanel Directories

For cPanel Main Directory structure, please see CoffeeCP cPanel Directory Structure.

Up Next: Custom Templates

Creating Custom Templates for cPanel