drunkenpetal Posted August 8, 2014 Share Posted August 8, 2014 Hello, My previous designer removed the check domain availability on the main page of my WHMCS. Now I would like to get it back. Unfortunately he is now uncontactable, so I am unable to know which codes he edited. http://demo.whmcs.com/ (this is the example of the check domain availability that I am talking about) How can I restore this back? Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 8, 2014 Share Posted August 8, 2014 1- in default template you can find the homepage.tpl it include this form. 2- from WHMCS admin area >> Utilities >> Integration Code >> "Domain Availability Checker" 0 Quote Link to comment Share on other sites More sharing options...
drunkenpetal Posted August 9, 2014 Author Share Posted August 9, 2014 After using this code and inserting it into the homepage.tpl file, it does not really match what I want. This is what I see on the main page after inserting the code. Typing a domain into it, will lead me to the actual domain checker page, which is what I want. In other words, how can I integrate the domain checker directly into the home page without the need of doing an extra step? This is quite frustrating for me because I had it initially until I stupidly told my designer to remove it. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 9, 2014 Share Posted August 9, 2014 have you checked the first option in my last reply? {if $condlinks.domainreg || $condlinks.domaintrans || $condlinks.domainown} <div class="well"> <div class="styled_title"> <h1>{$LANG.domaincheckerchoosedomain}</h1> </div> <p>{$LANG.domaincheckerenterdomain}</p> <br /> <div class="textcenter"> <form method="post" action="{$systemsslurl}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 $captcha} <div class="captchainput" align="center"> <p>{$LANG.captchaverify}</p> {if $captcha eq "recaptcha"} <p>{$recaptchahtml}</p> {else} <p><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="input-small" maxlength="5" /></p> {/if} </div> {/if} <div class="internalpadding">{if $condlinks.domainreg}<input type="submit" value="{$LANG.checkavailability}" class="btn btn-primary btn-large" /> {/if}{if $condlinks.domaintrans}<input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn btn-success btn-large" />{/if}{if $condlinks.domainown} <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn btn-large" />{/if}</div> </form> </div> </div> {/if} place this to your homepage.tpl (at top) 0 Quote Link to comment Share on other sites More sharing options...
drunkenpetal Posted August 9, 2014 Author Share Posted August 9, 2014 Thank you, this solved my problem. 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.