Welcome! Log In Create A New Profile


Integrate with existing search box??

Posted by TxBlackJack 
Integrate with existing search box??
March 28, 2012 09:17PM
First, I would like to thank you in advance for this script and any advice offered to me.

Ok, here is the problem. We have an existing search box and we are having problems getting it to work with Sphider. Right now, when someone enters a search term and searches, it just takes them to another search box, instead of running the initial search. Here is the code:

<form id="search-form" action="sphider/search.php" method="post" class="fright">
<div class="input">
<fieldset><input onFocus="if(this.value =='search' ) this.value=''" onBlur="if(this.value=='') this.value='search'" value="search" name="search"></fieldset>
<a onClick="document.getElementById('search-form').submit()" class="search-submit">search</a>
Re: Integrate with existing search box??
March 29, 2012 09:20PM
It is not possible to use Sphider together with the search form of another search engine. Your above posting is showing a false search box. It is obligatory to use the Sphider search form as supplied with the Sphider download. A simple example is posted here

Sorry, only registered users may post in this forum.

Click here to login