Go Back > PhpDig Forums > How-to Forum

Thread Tools
Old 09-25-2004, 12:54 AM   #1
Green Mole
Join Date: Jan 2004
Posts: 7
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?


sbrazil is offline   Reply With Quote
Old 09-25-2004, 08:39 AM   #2
Purple Mole
Join Date: Jan 2004
Posts: 694
Have a look at this thread. It should answer all your questions.
vinyl-junkie is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
search form 'remembering' previous search lukemack How-to Forum 0 12-16-2005 05:10 AM
Restricting search results by URL at the search form level innerfire How-to Forum 3 08-01-2005 09:36 AM
Pulling search results into existing search system. satcom How-to Forum 2 05-03-2005 11:58 AM
Search page to search all domains & links generally shamu How-to Forum 5 10-27-2004 02:55 PM
How to include just the text field from search form? scarpelius How-to Forum 1 08-10-2004 06:05 PM

All times are GMT -8. The time now is 11:02 PM.

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