API page: http://api.drupal.org/api/drupal/modules--search--search-result.tpl.php/7

Describe the problem you have found:

The Manage Display section for a content type allows one to define the search results display-- same as with teaser and Full content display. And it appears that Drupal is rendering the display for each result (returned at $variables['results'][n]['node']['rendered']) per the settings defined under Manage Display.

However, the search-result.tpl.php file (that comes as part of core) renders the search results in an older format, ignoring the customization set through Manage Display.

I don't think that this would be hard to patch-- and I'm interested in giving it a try-- but I wanted to check to see if there was a reason why search-result.tpl.php was left without this change. I wasn't able to find any discussion on this topic via Google or the Drupal search.

Am I missing anything here? Anyone have a patch for this already in the works?

Thanks,
JK

Comments

franz’s picture

I couldn't find where the error lies. Can you post the patch?

yoroy’s picture

Status: Active » Closed (duplicate)
jkaine’s picture

yoroy, thanks for syncing up my report with the larger thread. I'm subscribing over there.

JK