I can figure out how to create a search results page using views in Drupal 7. What I cannot solve is how to format it the same way as a search results page with two lines of summary text and the keyword(s) in bold. Do I have to use the "fields" display?


Yes you need to use fields. One for the title, one for the teaser and any additional fields you want to add in. You can configure the amount of text that appears in the teaser so you can get your two lines of text.

  • Hi, thank you for your answer, but is there an option to pull a search summary the same way as the regular search results page that selects precisely the part where the term you searched for was found, or the only option is to use an ordinary summary? – Marcos Buarque Jul 15 '11 at 12:55
  • Unfortunately not that I'm aware of maybe someone else will know. – digital Jul 15 '11 at 15:17

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.