stacksos Posted January 27, 2017 Share Posted January 27, 2017 Hello everyone! Great source of information here regarding WHMCS. However, I could not find a solution for my current issue. I want to basically hide all links dealing with the Knowledgebase until I get it to where I feel like it's worth publishing. I've been successful in all of that except for ONE item. The search bar... I want an Action Hook that I can easily delete to return the search bar when I am ready to release the Support Center. I tried seeing if I could hard code it out, but its on the clientarea.php file and that is protected I guess. Red box is what I want to have removed from sight until I am ready to release it. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 27, 2017 Share Posted January 27, 2017 I can see two ways to do this - either by editing the /templates/six *or your custom template*/clientareahome.tpl template (not encrypted) and editing the block of code responsible for the search bar... <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> ... or probably more suitable for your needs, add the line below to /templates/six *or your custom template*/css/custom.css .home-kb-search {display: none;} that will hide the search bar from the homepage, and then when you are ready to let the clients use it, just remove the line from custom.css and it will return. 0 Quote Link to comment Share on other sites More sharing options...
stacksos Posted January 29, 2017 Author Share Posted January 29, 2017 Thank you. She looks beautiful now...may leave it off. LOL 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.