|
09-30-2006, 11:05 PM | #1 |
Green Mole
Join Date: Sep 2006
Posts: 2
|
refine search to two or more urls
Hi, I'm new to Phpdig (and PHP in general), but I was wondering if it's possible to search two or more sites at a time, but not all of the ones included in the spider.
What I'm hoping to do is change the dropdown list to checkboxes, where users can choose whichever sites they want to search. I've been looking at function_phpdig_form but am having trouble with it. I don't know how to pass two or more siteids to the search query. Any advice is much appreciated. Thanks! |
10-01-2006, 08:50 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
PhpDig is really set to search all sites or one site at a time. The $site varaible is what determines the site to search and can be in a query string, hidden field, or option tag. To get $site set and treated as an array of integers rather than one integer...
Here are the areas in search_functions.php that may have to be changed:
__________________
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-01-2006, 01:52 PM | #3 |
Green Mole
Join Date: Sep 2006
Posts: 2
|
Thanks!!! I'll give it a try.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how can I modify the search urls | worldwealth | How-to Forum | 0 | 12-11-2005 12:27 AM |
Refine search, but not based on path | kristian | Mod Submissions | 0 | 01-28-2005 07:10 AM |
refine search but not based on path... | zevince | How-to Forum | 3 | 07-08-2004 09:30 AM |
refine problem | Killersushi | Troubleshooting | 2 | 01-25-2004 11:48 PM |
$refine $refine_url $site | jedi_diah | How-to Forum | 1 | 11-18-2003 03:42 PM |