Jump to content

Domain Search Integration without the select dropdown?


wirenine

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>

Link to comment
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.

Link to comment
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! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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