Jump to content
WN-Ali

Domain Search Integration without the select dropdown?

Recommended Posts

it's very simple, in your installation modify feeds/domainchecker.php by removing the dropdown code from this file, to only display the text field, then you will need to check for domain by entering it's name and tld in the same field like "example.net"

and it will work the same way.

 

just remove

<select name="ext">
$code .= '<option>'. htmlspecialchars($tld, ENT_QUOTES, 'UTF-8') . '</option>';
</select>

Share this post


Link to post
Share on other sites

Thanks, any tweak for the integration method?

 

<form action="xx" method="post">

Domain: <input type="text" name="sld" size="20" /> <select name="tld">

<option>.com</option>

<option>.net</option>

<option>.org</option>

<option>.biz</option>

<option>.info</option>

<option>.us</option>

<option>.co.uk</option>

<option>.org.uk</option>

<option>.ca</option>

<option>.eu</option>

<option>.cc</option>

<option>.me</option>

<option>.tel</option>

</select>

<input type="submit" value="Go" />

</form>

 

Taking out the select option renders it useless.

Share this post


Link to post
Share on other sites

hello WN-Ali,

 

if you take out the <select name="tld"> you should search for domains in full "domainName.TLD", just like the domain checker in home page.

 

what have you done or what issues you currently have?

Share this post


Link to post
Share on other sites

Ali,

We have implemented the domain checker without dropdown for quiet a while!

 

Just try this:

 

<form class="form-collapse" method="post" action="https://yourdomain.com/domainchecker.php">

 

<input type="hidden" value="true" name="direct"></input>

 

And here is a working example:

https://ausweb.com.au/domain-names/

you dont even have to add an extension, it does it by itself with the search! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated