![]() |
"limit to" option on form page?
hi i just want to say that i am very impressed with preformance of this search engine. i had one question though. i have a sub navigation menu, on the menu i have add the search function as so:
PHP Code:
thank you, atticus1214 oh yeah - my search engine is on a different webhost, so relative path stuff doesn't really work. (i dont really know what i'm talking about - relative path is like "../../foldername" right?) |
Hi. Perhaps the code in this thread will help.
|
in the part that i add to function_phpdig_form.php were do i specify what path to search. i want the drop down menu to default at "www.mysite.com/library" on the library page but on the downloads page to default to "www.mysite.com/downloads." however on both pages i want the user to be able to select "Search Whole Site" searching "www.mysite.com"
i read the post at the link you gave and that sounds very close to what i want to do but i am not using an array (that i know of - i didnt make any changes to the script in that fashion). also the form is not on the template html page. it is on a subnavigation frame and the results dispay on a results_content frame. it is very possible that the script you are reffering to is exactly what in need, however i guess i dont understand how to apply it to my specific needs. thank you for your time, atticus1214 |
Hi. Not tested, but you could try to add a switch statement right before the phpdigSearch function call in the search.php file, where the variable used is one of the server predefined variables. As for code to do this, I just don't have the time to continue coding individual requests. Perhaps another member would be willing to code this for you.
|
All times are GMT -8. The time now is 05:37 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.