[drupal-devel] [feature] Node module should provide node object to theme search hook

Eric Scouten drupal-devel at drupal.org
Sun Jan 23 20:28:23 UTC 2005


 Project:      Drupal
 Version:      4.5.0
 Component:    page.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Eric Scouten
 Reported by:  Eric Scouten
 Updated by:   Eric Scouten
 Status:       patch
 Attachment:   http://drupal.org/files/issues/node_search_hook.patch (719 bytes)

As currently defined node.module's search hook doesn't provide enough
information to allow a rich rendering of search results. For instance,
in a photographic web site, I'd like the search results to show a
thumbnail of each matched image. I can't do this without access to the
node object.

The attached one-line patch provides access to the node object in the
search results.

Eric Scouten

-- 
View: http://drupal.org/node/16056
Edit: http://drupal.org/project/comments/add/16056





More information about the drupal-devel mailing list