Hello,
Great module, it's exactly what I needed.
Just wondering why you chose to hardcode the displaying of the results, and not use node_view to allow theming?
Hello,
Great module, it's exactly what I needed.
Just wondering why you chose to hardcode the displaying of the results, and not use node_view to allow theming?
Comments
Comment #1
BlakeLucchesi commentedFor now I simply chose to hard code the request to the database to pull back the node title and teaser because it increased speed by a large amount, I think however once I implement result paging I can bring back full node loading into the theme function. I just couldn't use it for now because every result being returned would in turn create 5 more database queries when each was loaded using node_load(). If you have any suggestions on how to go about making this better/more optimal I'd love to hear.
Blake
www.boldsource.com
Comment #2
BlakeLucchesi commentedThe latest dev snapshot will reflect the changes so that you can now have full access to any node data in the theme_fuzzysearch_results() function. It is recommended that you copy and paste the contents of the function into your theme file and edit from there. Each node is stored as an item in the array $results.