![]() |
Search box on search templates
Hi there,
I have installed php on my site and everything seems to be working fine, except for one thing. When I use any of the search templates and I type in a query I get either one or no result. However, if I then click on one of the other template links at the top, the full search results with e.g. 15 hits come out. What am I doing wrong. My website is www.dutchtax.net. There is a search box at the bottom of the page. This works fine, but if you then try to run a second query from the results page (search template), things go wrong. Ps. I removed all search templates except for phpdig.html). Hope this is clear enough. Kind regards, Johann Muller |
Hi. If I use the search box at the bottom of the page, I get results like you say, but on the second query the words "next query" are in the search box, and running that search produces no results. If, on the second query, I replace "next query" with my search terms, I get results again.
|
Charter, thanks for getting back to me.
After I posted the piece and waited for a while (I know it was not long, but it was about 2 am my time in Amsterdam) I tweaked the code in the grey template such that worked like the one on my home page which is fine for now. During European time I get a couple of hundred hits a day and I wanted the site to work properly this morning. However, the problem remains as described, if I use the code as it came with PHPDig 1.8.3, I get no search results. The original code read: <td> <phpdig:form_head/> <table class="borderCollapse"> <tr> <td class="blueForm"> <phpdig:form_title/> </td> </tr> <tr> <td class="greyForm"> <phpdig:form_field/> <phpdig:form_button/> <phpdig:form_select/> </td> </tr> <tr> <td class="greyForm"> <phpdig:form_radio/> </td> </tr> <tr> <td class="greyForm"> <phpdig:form_dropdown/> </td> </tr> </table> <phpdig:form_foot/> </td> I changed it for now to <div><form action="http://www.dutchtax.net/PHPDIG_DIR/search.php" method="post"><input name="query_string" type="text" size="35" value="next query" tabindex="2"><input name="search" type="submit" value="Go"></form></div> I do not know another way of explaining other than showing you what I mean. Is it possible for us to agree a time around which I can change back the site (it is a matter of swapping the current phpdig.html for the original). How about this afternoon at 4 my time (Central European Time), which is 10am in NY? Thank you for the help it really is appreciated. |
Perhaps this thread will be of some use. :)
|
Thanks Vinyl-Junkie,
Just sent you a short pm. Johann |
Here is the rest of our correspondence for everyone else's benefit.
Kind regards, Johann Muller ____________________________________________________ ----- Original Message ----- From: Vinyl-Junkie To: Johann Muller Sent: Monday, August 16, 2004 4:46 PM Subject: Re: vinyl-junkie from phpdig forums Hi Johann, Looks like a bug to me in that template. You might want to post a message on the forum confirming that. In the meantime, just set your config.php file to use a single template and not give visitors a choice of which to display. ------------------------------------------------------------------- ----- Original Message ----- From: Johann Muller To: Vinyl-Junkie Sent: Monday, August 16, 2004 7:19 AM Subject: Re: vinyl-junkie from phpdig forums Great, thanks. I just swapped the phpdig.html files. May I suggest the following. 1. Go to www.dutchtax.net and fill in "participation" in the search box. Hit the button. You should get a lot of results. 2. In the results page (phpdig.html) fill in "participation exemption" in the search box and hit the button. You should now get no results at all (or only 1). 3. However, if you then click on the "phpdig.html" link at the top of the page you will get all the search results under participation exemption. Can you help me with what goes wrong between step 2 and 3. Kind regards, Johann Muller ------------------------------------------------------------------- |
Perhaps the SEARCH_PAGE constant is not set correctly in the config file?
|
All times are GMT -8. The time now is 04:25 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.