Drupal's core search code makes the "no results found" text annoying to theme. The only ways to modify it are with translation overrides, or by overriding the generic theme('box') and returning custom content if the title text passed to that was t('Your search yielded no results'). Both options are a bit gross.
This patch makes both the search results wrapper and the "no results" output themeable.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | google_cse_adv-941026.patch | 1.75 KB | jweowu |
Comments
Comment #1
jweowu commentedComment #2
meba commentedGood stuff! Committed, thanks!
Note: you HAVE to clear cache after you upgrade or use this patch.