Jump to content

Disable "Quick Shortcuts" in product details page?


kamalkpaleti

Recommended Posts

Hi All,

 

I have disabled some features (like file manager, backup, database etc) in my WHM.

 

But some disabled features are displaying in the product details page under "Quick Shortcuts".

 

My question is, is there a way to delete / disable quick shortcuts in the product details page?

 

Thanks in advance.

 

Kamal.

quickshorcuts.PNG

Link to comment
Share on other sites

I added a cPanel icon because it is easier to see than the one on the left menu bar also removed the domain add on icon and added an FTP icon at the end. You will have to play with the ( div & /div ) tags to get the layout you want. If I can help with more let me know or send me what you want I will try to set it up for you. The file you need to edit is /modules/servers/cpanel/templates/overview.tpl around line # 143

 

    <div class="panel panel-default" id="cPanelQuickShortcutsPanel">
       <div class="panel-heading">
           <h3 class="panel-title">{$LANG.cPanel.quickShortcuts}</h3>
       </div>
       <div class="panel-body text-center">

           <div class="row cpanel-feature-row">
               [color="#FF0000"]<div class="col-sm-3 col-xs-6" id="cPanel">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Cpanel_Home" target="_blank">
                       <img src="modules/servers/cpanel/img/cP-logo-1.png" />
                       cPanel Home
                   </a>[/color]
               </div>
               <div class="col-sm-3 col-xs-6" id="cPanelEmailAccounts">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Email_Accounts" target="_blank">
                       <img src="modules/servers/cpanel/img/email_accounts.png" />
                       {$LANG.cPanel.emailAccounts}
                   </a>
               </div>
               <div class="col-sm-3 col-xs-6" id="cPanelForwarders">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Email_Forwarders" target="_blank">
                       <img src="modules/servers/cpanel/img/forwarders.png" />
                       {$LANG.cPanel.forwarders}
                   </a>
               </div>
               <div class="col-sm-3 col-xs-6" id="cPanelAutoResponders">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Email_AutoResponders" target="_blank">
                       <img src="modules/servers/cpanel/img/autoresponders.png" />
                       {$LANG.cPanel.autoresponders}
                   </a>
               </div>
           </div>
           <div class="row cpanel-feature-row">
               <div class="col-sm-3 col-xs-6" id="cPanelFileManager">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=FileManager_Home" target="_blank">
                       <img src="modules/servers/cpanel/img/file_manager.png" />
                       {$LANG.cPanel.fileManager}
                   </a>
               </div>
               <div class="col-sm-3 col-xs-6" id="cPanelBackup">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Backups_Home" target="_blank">
                       <img src="modules/servers/cpanel/img/backup.png" />
                       {$LANG.cPanel.backup}
                   </a>
               </div>
               <div class="col-sm-3 col-xs-6" id="cPanelSubdomains">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Domains_SubDomains" target="_blank">
                       <img src="modules/servers/cpanel/img/subdomains.png" />
                       {$LANG.cPanel.subdomains}
                   </a>
               </div>
               [color="#FF0000"]<!-- BAW <div class="col-sm-3 col-xs-6" id="cPanelAddonDomains">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Domains_AddonDomains" target="_blank">
                       <img src="modules/servers/cpanel/img/addon_domains.png" />
                       {$LANG.cPanel.addonDomains}
                   </a>
               </div> -->[/color]
               <div class="col-sm-3 col-xs-6" id="cPanelCronJobs">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Cron_Home" target="_blank">
                       <img src="modules/servers/cpanel/img/cron_jobs.png" />
                       {$LANG.cPanel.cronJobs}
                   </a>
               </div>
               </div>
           <div class="row cpanel-feature-row">
               <div class="col-sm-3 col-xs-6" id="cPanelMySQLDatabases">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Database_MySQL" target="_blank">
                       <img src="modules/servers/cpanel/img/mysql_databases.png" />
                       {$LANG.cPanel.mysqlDatabases}
                   </a>
               </div>
               <div class="col-sm-3 col-xs-6" id="cPanelPhpMyAdmin">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Database_phpMyAdmin" target="_blank">
                       <img src="modules/servers/cpanel/img/php_my_admin.png" />
                       {$LANG.cPanel.phpMyAdmin}
                   </a>
               </div>
               <div class="col-sm-3 col-xs-6" id="cPanelAwstats">
                   <a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1&app=Stats_AWStats" target="_blank">
                       <img src="modules/servers/cpanel/img/awstats.png" />
                       {$LANG.cPanel.awstats}
                   </a>
               </div>
               [color="#FF0000"]<div class="col-sm-3 col-xs-6" id="cPanelFTP">
                   <a href="http://www.net2ftp.com/index.php" target="_blank">
                       <img src="modules/servers/cpanel/img/filesave.png" />
                       FTP File Manager 
                   </a>[/color]                </div>
           </div>

       </div>
   </div>

   <div class="panel panel-default" id="cPanelQuickEmailPanel">

Edited by Amcom
Link to comment
Share on other sites

  • 4 years later...

Thank you was looking for some to help , and this is so cool.

I want to delete some the features below

w.Manager
backup.pngBackup
subdomains.pngSubdomains
addon_domains.pngAddon Domains
cron_jobs.pngCron Jobs
mysql_databases.pngMySQL Databases
php_my_admin.pngphpMyAdmin
awstats.pngAwstats
 

How do you go about doing this . 

Thank You

Frans

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