|
07-29-2005, 07:34 AM | #1 |
Green Mole
Join Date: Jul 2005
Posts: 7
|
Search box on every page?
I want to have the search box on every page in the site, the problem is I have an index page at root and all other pages in a 'webpages' folder.
I have seen the example in the page comments for moving the search page to the root level how could I change it for pages in a subdirectory? Thanks in advance Chris |
07-29-2005, 09:19 AM | #2 |
Green Mole
Join Date: Jul 2005
Posts: 7
|
Thought of a possible way - maybe
Having one search page and just a regular form pointing to the search on the others with hidden fields to simulate a phpdig query? |
07-29-2005, 09:24 AM | #3 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
You can add a search box to any webpage using the following HTML form:
HTML Code:
<form action="http://www.YOURDOMAIN.COM/DIR/search.php" method="post"> <input type="text" name="query_string" value=""> <input type="submit" name="search" value="Go"> </form>
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
07-29-2005, 10:27 AM | #4 |
Green Mole
Join Date: Jul 2005
Posts: 7
|
Thanks
Thanks for that !
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
move search code to just a box | melinda | How-to Forum | 1 | 07-15-2006 01:05 PM |
Adding search box to every page (cont'd) | rogerh | How-to Forum | 1 | 10-11-2004 12:08 PM |
search box? | WebDiva 2.0 | How-to Forum | 3 | 08-19-2004 01:58 PM |
Adding search box to every page | Psycho1 | How-to Forum | 7 | 04-25-2004 09:04 AM |
Search box on html page | rafarspd | How-to Forum | 4 | 12-04-2003 07:37 AM |