Welcome! Log In Create A New Profile

Advanced

Embedding Search Box On My Page

Posted by kmaven 
Embedding Search Box On My Page
May 08, 2007 12:32AM
Hi, how would I be able to embed the "search box" on my pages?
Re: Embedding Search Box On My Page
May 10, 2007 01:46AM
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 19, 2007 02:40AM
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