Jump to content

Removing Quick Shortcut Links in cPanel and Plesk


Recommended Posts

  • WHMCS Support Manager

The cPanel and Plesk modules include Quick Shortcut links which provide deep-linking and Single Sign-On to commonly used pages within the control panels. For example clients can access the File Manager page directly from the WHMCS Service Details page without navigating through the cPanel or Plesk home screen.

cpanel-management.png

 

You may not wish to present all these options to your clients, this guide demonstrates how to remove a Quick Shortcut link:

 

1. Open the /modules/servers/cpanel/templates/overview.tpl or /modules/servers/plesk/templates/overview.tpl template file.

2. Locate the HTML code for the button you wish to remove. In this example I'll remove the File Manager icon from the cPanel module, so the code is:

                <div class="col-md-3 col-sm-4 col-xs-6 col-6" id="cPanelFileManager">
                    <a href="clientarea.php?action=productdetails&amp;id={$serviceid}&amp;dosinglesignon=1&amp;app=FileManager_Home" target="_blank" class="d-block mb-3">
                        <img src="modules/servers/cpanel/img/file_manager.png" />
                        {$LANG.fileManager}
                    </a>
                </div>

 

3. Remove or comment out the dev section for the link to be removed.

4. Save changes and upload, overwriting the template file.

 

The File Manager link is no longer displayed on the client area Service Details page:

filemanager_removed.png

 

N.B. This template file is not part of the parent/child theme system, so customisations made here will need to be re-applied after updating WHMCS in future.

 

At the time of writing this post, this process was tested on the latest stable release of WHMCS 8.7.2.

If you have any feedback or questions, please feel free to reply to this thread!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated