WHMCS Quick Shortcuts

Overview

This guide will help you to create a link for SitePad in WHMCS on the Product Details page under Quick Shortcuts section.

Editing overview.tpl

Since WHMCS does not provide a direct option to display a custom icon in Quick Shortcuts section, we will need to edit the existing tpl file in the cPanel module.

1. Upload the SitePad icon to the following path :

/path/to/whmcs/modules/servers/cpanel/img/sitepad.png 

2. You will need to edit the following file :

/path/to/whmcs/modules/servers/cpanel/templates/overview.tpl

Find the last icon i.e. Awstats in the overview.tpl file and replicate that div and change the icontext and link to the div. E.g. :

<div class="col-sm-3 col-xs-6" id="SitePad"> 
<a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=SitePad_Home" target="_blank">
<img src="modules/servers/cpanel/img/sitepad.png" /> SitePad </a> </div>

We have replaced the following variables :

  • Value for app parameter in href is changed to app=SitePad_Home
  • Icon path has been changed to sitepad.png
  • Link Text has been changed to SitePad

3. That’s it ! Your users will now find the SitePad icon in their WHMCS Client Panel on Product Details page as in the screenshot above

Was this helpful to you?