arturgornik Posted July 10, 2017 Share Posted July 10, 2017 Hi, I looking how to: 1. How to hide client area dashboard (bar with number of services, invoices, tickets etc) 2. the same about knowledge base seraching bar 3. other modules bars placed on client area main page (client logged in) for ex. newTLD bar As a bar I mean all of horizontal elements over the panels and having width of all panels (i'm not sure how is named in whmcs). Any hook? How to check their names? Please help! Kindest regards Artur 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 10, 2017 Share Posted July 10, 2017 Hi Artur, I looking how to:1. How to hide client area dashboard (bar with number of services, invoices, tickets etc) you'll need to edit clientareahome.tpl - basically the entire first <div> block in the template. 2. the same about knowledge base searching bar similarly, you can edit knowledgebase.tpl and knowledgebasecat.tpl and remove the <form> block of code at the beginning of the template. 3. other modules bars placed on client area main page (client logged in) for ex. newTLD barAs a bar I mean all of horizontal elements over the panels and having width of all panels (i'm not sure how is named in whmcs). Any hook? How to check their names? I might need a screenshot of what you mean for this - i'm not sure if you're talking about homepage panels (below) or the navbar. 0 Quote Link to comment Share on other sites More sharing options...
arturgornik Posted July 10, 2017 Author Share Posted July 10, 2017 brian! Thank you so much. I think I understand how to hide "whmcs native" dashboard and knowledge base searching bar. But on my installation I have some more as on screen below: Bellow of 2 of whmcs native there is one more. How to proceed with that? Do you think third party module could inject some code to clientareahome.tpl? Should I look for next section? Kindest regards Artur 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 10, 2017 Share Posted July 10, 2017 Hi Artur, Below of 2 of whmcs native there is one more.How to proceed with that? Do you think third party module could inject some code to clientareahome.tpl? Should I look for next section? oh ok, this is all going to be in clientareahome.tpl. as I said earlier, the 4 panels (services, domains, etc) is the first <div> block in clientareahome.tpl the kb search is after the <div> block and is the <form> block of code. <form role="form" method="post" action="clientarea.php?action=kbsearch"> <div class="row"> <div class="col-md-12 home-kb-search"> <input type="text" name="search" class="form-control input-lg" placeholder="{$LANG.clientHomeSearchKb}" /> <i class="fa fa-search"></i> </div> </div> </form> the third one, which i'm guessing is the eNom New TLDs addon, is going to be displayed by... {foreach from=$addons_html item=addon_html} <div> {$addon_html} </div> {/foreach} https://docs.whmcs.com/ENom_New_TLDs I daresay that could be removed by an action hook, but seeing as you're already editing the template to remove the other two it, you could remove the above {foreach} block and that should remove it. 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.