2

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?

1 Answer 1

1

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.

2
  • 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? Jul 15, 2011 at 12:55
  • Unfortunately not that I'm aware of maybe someone else will know.
    – digital
    Jul 15, 2011 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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