BuycPanel Blog

BuycPanel Blog

Latest news and updates

The new Style Management Interface in cPanel

Posted by Allison on 07 09 2017.

When it comes to style management interface in cPanel, you can always create new, customized styles to change the appearance of the cPanel interface. For instance, you may want to create a customized look for what goes in accordance with your company’s logo and branding or a customized style for distribution – these things are very much doable. But take a note that a custom cPanel style is able to change only the look and appearance of the cPanel interface. To add customized functionality, you need to depend on cPanel plugins. You may find a number of tutorials online on how to create and apply a customized style. A style uses images, CSS and other assets to change the look of the cPanel without making any change to its features or functionalities. You can create and apply them either to the entire server or a particular reseller’s account. You can…

When it comes to style management interface in cPanel, you can always create new, customized styles to change the appearance of the cPanel interface. For instance, you may want to create a customized look for what goes in accordance with your company’s logo and branding or a customized style for distribution – these things are very much doable. But take a note that a custom cPanel style is able to change only the look and appearance of the cPanel interface. To add customized functionality, you need to depend on cPanel plugins. You may find a number of tutorials online on how to create and apply a customized style. A style uses images, CSS and other assets to change the look of the cPanel without making any change to its features or functionalities. You can create and apply them either to the entire server or a particular reseller’s account. You can create them for distribution too!

Style development workflow

While creating a cPanel style, it’s recommended that you use the particular workflow mentioned below,

  • Create new style directory
  • Create the style.css file within your new directory
  • Now add your preferred images as well as other assets to directory
  • Perform an action depending on your requirement to add the desired style to server and apply it to the accounts – you can find the loop on the Internet

 

Important notes – Here are some important notes that must be taken care of.

  • Myself means the style’s directory’s name
  • Reseller means the username of the reseller
  • Username means the username of the cPanel account
  • In case the server uses any customized home directory path, make sure you use the right path for the home directory
  • If the directories don’t presently exist on server, you can use mkdir command in order to create them

Style development for cPanel & WHM version 60

  • For cPanel & WHM version 60, you may use customization interface of WHM (Home>>cPanel>>Customization) for uploading and applying your desired style
  • For cPanel & WHM version 60, you can use the/scripts/modify_accounts script for implementation of any particular style and theme across different existing accounts.

Points to be noted – System usually uses cpsrvd daemon to serve different cPanel styles. This daemon listens on port 2083 for secure connections and port 2082 for insecure connections. Make sure you take care of the mentioned requirements while specifying paths in the custom styles.