PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   search from the search field on my hompage (http://www.phpdig.net/forum/showthread.php?t=1365)

sbrazil 09-24-2004 11:54 PM

thanks, one more quick question. How do I get it to search from the search field on my hompage, as it sends you to a template then you have to re-enter the search query again in the template?

I have this as the hidden fields

form action='search/search.php' method='get'>
<input type='hidden' name='template_demo' value='./templates/phpdig.html'/>
<input type='hidden' name='site' value='0'/>
<input type='hidden' name='path' value=''/>
<input type='hidden' name='result_page' value='search/search.php'/

do I have to edit the config file? I did do this but it still managed to go to the template file first before searching.

I realise I will have to make my own template which I'm working on I just want it to search from the hompage without having to enter the details again. Obviously having a search again box on the results page?

Thanks

Simon

vinyl-junkie 09-25-2004 07:39 AM

Have a look at this thread. It should answer all your questions. :)


All times are GMT -8. The time now is 12:17 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.