I got some issue in the search result page.
The "snippet" content is hidden or lost, I figure out the problem in my case was a "if" that call to new function for theme the snippet content.
In apachesolr_search.module @see apachesolr_search_process_response()
I comment this lines
if ($bundle) {
$hook .= '__' . $bundle;
}
to
/*
if ($bundle) {
$hook .= '__' . $bundle;
}
*/
And then my snippet appear. What I'm missing with this "$bundle" function that won't work right in my site?, or maybe that case needed to be fixed in Drupal 6.
Comments
Comment #1
pwolanin commentedI think this may be a different in the D7 vs. D6 theme layer handling of theme hook names.
Comment #2
killua99 commentedOk them it's a bug I'm gonna work on it.
Comment #3
killua99 commentedA small "solution" can be with moving some lines of code to keep the $hook clean. I test it in my site and work.
Comment #4
nick_vhthat is not a very clean solution is it ;-)
Comment #5
killua99 commentedAnother solution could be removing all those lines that do nothing in D6.
ps: I'm not change the status cause maybe need work xD.
Comment #6
nick_vhthis should fix it + removed two dsm's
Comment #7
killua99 commentedThis patch is really good [#1670834-6: Bundle specific overrides do not work as expected in drupal 6 better than my lazy solution :D. Now I now you can pass an array in theme()
Comment #8
nick_vhcommitted, thanks for reporting!