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

Your Answer

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

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