Alejarne Posted March 22 Share Posted March 22 Hello everyone, I am currently customizing the clientarea of my self-hosted install of WHMCS and so far I had no trouble removing entries from the sidebar and other locations. However, I have not been able to find a way to remove one of the four color-coded panels in the main clientarea: My goal is to specifically remove the "Quotes" panel, which I assumed could be done via https://docs.whmcs.com/9-0/customization/client-area-customization-tutorials/homepage-panels/remove-a-panel/ , but that is apparently not the case since these panels don't have a "menuitemname" tag in HTML like the other elements on the page, so I have no idea what name to put for the hook. I already tried "Quote", but that did not work. The reason for why I want this panel gone is that I will not be offering Quotes and therefore have no need for it. If there is a specific setting for this or a different way to do it via a hook, please let me know! 0 Quote Link to comment Share on other sites More sharing options...
Solution Saroha Posted 6 hours ago Solution Share Posted 6 hours ago Find the clientareahome.tpl file into your selected template directory. in this file you will find the code {else} <div class="col-sm-3 col-xs-6 tile" onclick="window.location='clientarea.php?action=quotes'"> <a href="clientarea.php?action=quotes"> <div class="icon"><i class="far fa-file-alt"></i></div> <div class="stat">{$clientsstats.numquotes}</div> <div class="title">{$LANG.quotes}</div> <div class="highlight bg-color-green"></div> </a> </div> just remove or comment it to remove it from this section 0 Quote Link to comment Share on other sites More sharing options...
Alejarne Posted 2 hours ago Author Share Posted 2 hours ago I see, thank you! Is there no "proper" way to modify these panels? All other elements in the clientarea can be changed via hooks, so I found it odd that there doesn't seem to be any way to do the same for these panels. I might want to replace the quotes panel with a custom one so it would be nice to be able to do it in the same fashion as the other elements in there. But if that's not an option I can just go via the tpl files of course. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.