Hello,
I know this is slightly off topic, so I apologize. I didn't know where else to ask.
I've got a drupal 5.1 site here: http://beta.menashalibrary.org
I have a search box at the top that has a drop down. The drop down chooses what you want to search, and searches accordingly. The problem is, I have no idea how to do this. I've tried javascript, but to no avail. Basically, I need on item in the drop down to search the library's web catalog, and the other to search their drupal site.
Any ideas on how I can do this?
- jody
My first attempt at a solution would be to place a view in a block.
You could set the dropdown via a filter.
Depending on how the content you're trying to search is setup I would think that should work.
Cheers,
blake
On Mar 22, 2007, at 11:38 AM, Jody Cleveland wrote:
Hello,
I know this is slightly off topic, so I apologize. I didn't know where else to ask.
I've got a drupal 5.1 site here: http://beta.menashalibrary.org
I have a search box at the top that has a drop down. The drop down chooses what you want to search, and searches accordingly. The problem is, I have no idea how to do this. I've tried javascript, but to no avail. Basically, I need on item in the drop down to search the library's web catalog, and the other to search their drupal site.
Any ideas on how I can do this?
- jody
-- [ Drupal support list | http://lists.drupal.org/ ]
On 3/22/07 11:46 AM, "blake hall" hall.blake@gmail.com wrote:
My first attempt at a solution would be to place a view in a block.
You could set the dropdown via a filter.
Depending on how the content you're trying to search is setup I would think that should work.
So, how would I do that then? How would I tie the filter to the dropdown?
- jody
It depends on what you want to select from the dropdown box.
node type? taxonomy term? vocabulary name? author?
etc...
If you set up a filter that will search the fields you're interested in, you can then expose the filter to the user (in the block).
blake
On Mar 22, 2007, at 12:01 PM, Jody Cleveland wrote:
On 3/22/07 11:46 AM, "blake hall" hall.blake@gmail.com wrote:
My first attempt at a solution would be to place a view in a block.
You could set the dropdown via a filter.
Depending on how the content you're trying to search is setup I would think that should work.
So, how would I do that then? How would I tie the filter to the dropdown?
- jody
-- [ Drupal support list | http://lists.drupal.org/ ]
Well, the on item in the dropdown would search our web catalog, which is completely outside of drupal. The other dropdown would search the website inside of drupal.
Is that still possible?
- jody
On 3/22/07 12:19 PM, "blake hall" hall.blake@gmail.com wrote:
It depends on what you want to select from the dropdown box.
node type? taxonomy term? vocabulary name? author?
etc...
If you set up a filter that will search the fields you're interested in, you can then expose the filter to the user (in the block).
blake