|
10-08-2003, 04:46 PM | #1 |
Green Mole
Join Date: Oct 2003
Posts: 3
|
Simple way of inserting a search form
Hi,
First of all, I want to say big "merci" to the creator(s) of this great program, it's really good! I want to put just one search input line on the main page of my site. What is a simple way of doing this? I don't want to creat a special template, rather, I would just put in one line, that takes the search query and sends it to PHPDig, which then gives results out on my standard search (and search results) template. I hope I made it clear... Thank you!! |
10-08-2003, 04:57 PM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Do you mean take the form at http://www.waytorussia.net/search/ and have the form on the main page? If so, just copy the HTML form from http://www.waytorussia.net/search/ and change 'index.php' to 'http://www.waytorussia.net/search/index.php' and it should work.
__________________
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. |
10-08-2003, 05:22 PM | #3 |
Green Mole
Join Date: Oct 2003
Posts: 3
|
Ok, thank you Charter, but I didn't mean that. However, I found the answer on the main page of this site (in html source).
Here it is: <!-- start --> <form action='search/index.php' method='get'> <input type='hidden' name='template_demo' value='simple.html'/> <input type='hidden' name='result_page' value='index.php'/> <input name='query_string' type='text' class='liwords' value='russian visa' size="15"/> <input class='liwords' type='submit' name='search' value='Search'/> </form> <!-- end --> That's it. You can also add various parameters. |
10-08-2003, 05:23 PM | #4 |
Green Mole
Join Date: Oct 2003
Posts: 3
|
Oh, yeah, and of course you should changes the path (in form tag and in "template_demo" and in "result_page") to your local paths...
;-) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search form | Anton | How-to Forum | 0 | 11-15-2006 10:42 PM |
search form 'remembering' previous search | lukemack | How-to Forum | 0 | 12-16-2005 04:10 AM |
Restricting search results by URL at the search form level | innerfire | How-to Forum | 3 | 08-01-2005 08:36 AM |
Inserting the results of search into web page | Neo | How-to Forum | 3 | 10-09-2004 10:28 AM |
Simple search | petra_itl | Mod Requests | 3 | 12-30-2003 07:17 AM |