0

I'm sure this is really easy to do, but I've spent the best part of 2 hours trying to get Views to accomodate and I'm stuck.

Simply, I would like to create a single search function using Views in Drupal 7 which can go on a homepage to search for both "subject" and "town/ZIP" (ie "English Teachers" available in "Detroit". then the user hits the GO button. This will search the node fields and return a list which (ala a general google search engine style). I'm ambitious in moving forward with D7, but it's painfully slow at the moment).

OK, I'm new to D7 but not IT, but the lack of helpful books or tutorials is making self-learning takes 'years' and not 'months' (I'm upskilling during this downturn and I need to get back into employment like now not next year!).

Can anyone point me to a decent 'How to' tutorial for the above, or suggest the real easy way option in Views? I'd rather use Views and not have any .tpl

2 Answers 2

1
  1. Add filters for this fields to your view.
  2. Mark this filters as exposed.
  3. Go to blocks and make sure your exposed filter is visible.
0
0

You could use Views filters populate to use one exposed string filter to search on multiple fields.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.