Webmastersite.net
Register Log In

search box
How can I make a search box on a different page.

Comments on search box

pokrov
Member

Usergroup: Member
Joined: Sep 16, 2009

Total Topics: 8
Total Comments: 19
pokrov
search box
Posted Sep 02, 2011 - 5:09 PM:

My link directory is located on a subdomain http://directory.pokrov22.net/ . I need to put a search box on a domain pokrov22.net from this link directory. I have put a search box- but when you type a word by the search- it does not give out necessary results, but only shows how many listings and members are there, but the result of the links does not show. Where can I get the right code from the files and templates or how to correct it?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 03, 2011 - 2:25 AM:

You want to put the search box for one site onto another site? This should work:
<div id="searchbox"> 
<form action="http://directory.pokrov22.net/search.php?filled=1&condition=and&whichtype=links" name="quicksearchform" method="post" style="margin: 0; padding: 0;">
Find <input type="search" name="search" size="25" />

<button type="submit" class="gobutton"><img src="http://directory.pokrov22.net/templates/images_default/search.png" alt="" /> Search</button> <a href="http://directory.pokrov22.net/search.php">Advanced Search</a>
</form>
</div>


(I disabled the autocomplete in there because that's not going to work right on a different domain.)
pokrov
Member

Usergroup: Member
Joined: Sep 16, 2009

Total Topics: 8
Total Comments: 19
pokrov
Posted Sep 03, 2011 - 12:59 PM:

thank you very much Paul, everything is fine and now I have a textbox. It works great!
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.