I need to theme the search results, but there isn't a tpl file for the Drupal 7 version, and the search results don't use the "search results" display type for content types.

I'd prefer it to display content according to the "search results" display type to be consistent with drupal behavior.

Comments

i-dont-use-this-account’s picture

This is still an issue. Is there way to tell Fuzzy Search to display results using the "search results" display type of content types?

awolfey’s picture

Status: Active » Fixed

Yes. Edit your fuzzysearch index and disable the Fuzzy Search excerpt settings processor. Then you should be able to theme it normally by overriding whatever display module you're using (search api page, or views, or something else).

funkytraffic’s picture

I would like to ask for a little feature:

To wrap the ... excerpt ... with a <span>, so I can theme each excerpt.

I tried to wrap $newbody .= '...'. $found .'... '; in the module file, but this does not work for some reason.

Hust like this:
http://books.google.de/books?hl=de&id=1uIlRLfEtmMC&dq=excerpt&q=excerpt

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.