How to brand cPGuard cPanel Interface

cPGuard provides an option to brand the cPGuard cPanel interface name, icon in cPanel, the logo in the page and the page header and title. So  you can present it to your clients as a custom scanner. To re-brand the option, you can use the following steps. 

To customiz the cPanel feature name and icon

1. Login to your server.

2. Run the following command 

/usr/local/cpanel/3rdparty/bin/php  /usr/local/cpanel/base/frontend/paper_lantern/cpguard/brand_icon.php <full path to icon> <name> <id>

<full path to icon> Full Path to the icon file. Icons must be 48x48 pixels.
name The name of the item, as it will display in the cPanel interface
id The item's internal name. Can be same as "name"

You can see an example in the following image.

cPanel Brand

Once the above action is successfully completed, you can see new branded cPGuard icon in the  cPanel interface.

cPanel Brand1

To customize the logo and the page

1. Login to your server and go to the directory path /usr/local/cpanel/base/frontend/paper_lantern/cpguard/branding

2. Create  a file named "header.html"  with the content simialr to following

    document.appName = 'cPGuard';
    document.appTitle = 'cPanel - Custom Title';
<img alt="cPGuard" src="assets/img/logo_color.png"  />

3. make sure to change the appName, appTitle and the image URL to your custom values.

Please contact our support if you need any assistance in branding the cPGuard cPanel icon. 

Please rate this article to help us improve our Knowledge Base.

0 0