Welcome! Log In Create A New Profile

Advanced

Embedding Search Box On My Page

Posted by kmaven 
Embedding Search Box On My Page
May 07, 2007 09:32PM
Hi, how would I be able to embed the "search box" on my pages?
Re: Embedding Search Box On My Page
May 09, 2007 10:46PM
You just need to remove the bare-bones form from templates/standard/search_form.html

should leave you with

<form action="http://yoursite.com/sphider/index.php" method="get">
<input type="hidden" name="search" value="1">
<input type="text" name="query" id="query" size="20">
<input type="submit" value="Search">

hope this helps.
Re: Embedding Search Box On My Page
May 18, 2007 11:40PM
Sphider needs to have some overhaul and have it designed to be more embeddable -- I just hacked away at include files and then ob_start() wrapped it to get it where I needed.
Sorry, only registered users may post in this forum.

Click here to login