clasil Posted November 8, 2015 Share Posted November 8, 2015 (edited) Hi there, Can you please let me know how can i removed this belore from the dashboard 1 - the search box (see in the link below) 2 - swap the domain name block for the quotes ? or remove the domain block! screencast.com/t/RyCzHnom Thank you guys Cs Edited November 8, 2015 by Infopro Please Attach Images to Your Posts. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 8, 2015 Share Posted November 8, 2015 both can be removed by modifying the six/clientareahome.tpl template. 0 Quote Link to comment Share on other sites More sharing options...
clasil Posted November 8, 2015 Author Share Posted November 8, 2015 Hi Brian! Thank you for taking teh time to replay to my question could you please be more details on what to remove and in what line to comment out on the clientareahome.tpl also is there any hooks to acomplish this? Thanks again CS 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 9, 2015 Share Posted November 9, 2015 to remove the search box, remove the following code @ line 58... <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 part of the code that controls the second block is @ line 11... {if $registerdomainenabled || $transferdomainenabled} <div class="col-sm-3 col-xs-6 tile" onclick="window.location='clientarea.php?action=domains'"> <a href="clientarea.php?action=domains"> <div class="icon"><i class="fa fa-globe"></i></div> <div class="stat">{$clientsstats.numactivedomains}</div> <div class="title">{$LANG.navdomains}</div> <div class="highlight bg-color-green"></div> </a> </div> {elseif $condlinks.affiliates && $clientsstats.isAffiliate} <div class="col-sm-3 col-xs-6 tile" onclick="window.location='affiliates.php'"> <a href="affiliates.php"> <div class="icon"><i class="fa fa-shopping-cart"></i></div> <div class="stat">{$clientsstats.numaffiliatesignups}</div> <div class="title">{$LANG.affiliatessignups}</div> <div class="highlight bg-color-green"></div> </a> </div> {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="fa fa-file-text-o"></i></div> <div class="stat">{$clientsstats.numquotes}</div> <div class="title">{$LANG.quotes}</div> <div class="highlight bg-color-green"></div> </a> </div> {/if} if domains are enabled, it should show the domains box by default; if not and the client is an affiliate, it will show the affiliates box, otherwise it will show the quotes box. i'm not sure exactly what you want, but if you want to remove the domains box and replace it with the quotes box, just change the above to... <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="fa fa-file-text-o"></i></div> <div class="stat">{$clientsstats.numquotes}</div> <div class="title">{$LANG.quotes}</div> <div class="highlight bg-color-green"></div> </a> </div> with regards to using hooks to do this, it's not practical to use them for this. 0 Quote Link to comment Share on other sites More sharing options...
clasil Posted November 9, 2015 Author Share Posted November 9, 2015 Thanks you very much Brian! 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.