backup-uk Posted February 22, 2012 Share Posted February 22, 2012 Hi, Is there an easy way to remove the different references to domains in the client area. For example all over the homepage, and in the client summary. I will not be selling domains, would be nice to remove all references to it easily. Thanks in advance. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 23, 2012 Share Posted February 23, 2012 From the admin area - not at all From the client are - yes edit your .tpl files 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted February 23, 2012 Share Posted February 23, 2012 Make sure you have a fresh backup before you go highlight+delete crazy on your tpls =) 0 Quote Link to comment Share on other sites More sharing options...
backup-uk Posted February 23, 2012 Author Share Posted February 23, 2012 From the admin area - not at allFrom the client are - yes edit your .tpl files Thanks for the response, but was really looking for some help as what I should remove from the .tpl files. 0 Quote Link to comment Share on other sites More sharing options...
WebsiteIntegrations Posted February 23, 2012 Share Posted February 23, 2012 what theme are you using? 0 Quote Link to comment Share on other sites More sharing options...
backup-uk Posted February 23, 2012 Author Share Posted February 23, 2012 I am using the deafult theme, with version 5.0.3 THanks 0 Quote Link to comment Share on other sites More sharing options...
WebsiteIntegrations Posted February 23, 2012 Share Posted February 23, 2012 in header.tpl remove <ul> <li class="menu"> <a href="#" class="menu">{$LANG.navdomains}</a> <ul class="menu-dropdown"> <li><a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a></li> <li class="divider"></li> <li><a href="cart.php?gid=renewals">{$LANG.navrenewdomains}</a></li> <li><a href="cart.php?a=add&domain=register">{$LANG.navregisterdomain}</a></li> <li><a href="cart.php?a=add&domain=transfer">{$LANG.navtransferdomain}</a></li> <li class="divider"></li> <li><a href="domainchecker.php">{$LANG.navwhoislookup}</a></li> </ul> </li> </ul> in homepage.tpl remove <div class="well"> <div class="styled_title"> <h1>{$LANG.domaincheckerchoosedomain}</h1> </div> <p>{$LANG.domaincheckerenterdomain}</p> <br /> <div class="textcenter"> <form method="post" action="domainchecker.php"> <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" /> {if $capatacha} <div class="captchainput" align="center"> <p>{$LANG.captchaverify}</p> {if $capatacha eq "recaptcha"} <p>{$recapatchahtml}</p> {else} <p><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="small" maxlength="5" /></p> {/if} </div> {/if} <div class="internalpadding"><input type="submit" value="{$LANG.checkavailability}" class="btn primary large" /> <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" /> <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" /></div> </form> </div> </div> in clientareahome.tpl remove <form method="post" action="domainchecker.php"> <div class="well textcenter"> <div class="styled_title"> <h3>{$LANG.domaincheckerchecknewdomain}</h3> </div> <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" /> <div class="internalpadding"> <input type="submit" value="{$LANG.checkavailability}" class="btn primary large" /> <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" /> <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" /> </div> </div> </form> 0 Quote Link to comment Share on other sites More sharing options...
backup-uk Posted February 24, 2012 Author Share Posted February 24, 2012 in header.tpl remove <ul> <li class="menu"> <a href="#" class="menu">{$LANG.navdomains}</a> <ul class="menu-dropdown"> <li><a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a></li> <li class="divider"></li> <li><a href="cart.php?gid=renewals">{$LANG.navrenewdomains}</a></li> <li><a href="cart.php?a=add&domain=register">{$LANG.navregisterdomain}</a></li> <li><a href="cart.php?a=add&domain=transfer">{$LANG.navtransferdomain}</a></li> <li class="divider"></li> <li><a href="domainchecker.php">{$LANG.navwhoislookup}</a></li> </ul> </li> </ul> in homepage.tpl remove <div class="well"> <div class="styled_title"> <h1>{$LANG.domaincheckerchoosedomain}</h1> </div> <p>{$LANG.domaincheckerenterdomain}</p> <br /> <div class="textcenter"> <form method="post" action="domainchecker.php"> <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" /> {if $capatacha} <div class="captchainput" align="center"> <p>{$LANG.captchaverify}</p> {if $capatacha eq "recaptcha"} <p>{$recapatchahtml}</p> {else} <p><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="small" maxlength="5" /></p> {/if} </div> {/if} <div class="internalpadding"><input type="submit" value="{$LANG.checkavailability}" class="btn primary large" /> <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" /> <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" /></div> </form> </div> </div> in clientareahome.tpl remove <form method="post" action="domainchecker.php"> <div class="well textcenter"> <div class="styled_title"> <h3>{$LANG.domaincheckerchecknewdomain}</h3> </div> <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" /> <div class="internalpadding"> <input type="submit" value="{$LANG.checkavailability}" class="btn primary large" /> <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" /> <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" /> </div> </div> </form> Works a treat, exactly what I was after. Thank you so much for your help, really aqppreciated. 0 Quote Link to comment Share on other sites More sharing options...
iJemuel Posted January 27, 2013 Share Posted January 27, 2013 I know the thread is almost a year long, but this is just what I needed. Thanks 0 Quote Link to comment Share on other sites More sharing options...
facupuig Posted February 14, 2013 Share Posted February 14, 2013 (edited) Let me add something. In clientareahome.tpl in line 29, you have <p>{$LANG.statsnumdomains}: <a href="clientarea.php?action=domains"><strong>{$clientsstats.numactivedomains}</strong> ({$clientsstats.numdomains}) - {$LANG.view} »</a></p> You can delete that also. Edited February 14, 2013 by facupuig fixing code 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.