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
Comment #1
i-dont-use-this-account commentedThis is still an issue. Is there way to tell Fuzzy Search to display results using the "search results" display type of content types?
Comment #2
awolfey commentedYes. 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).
Comment #3
funkytraffic commentedI 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