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.

CommentFileSizeAuthor
#1 google_cse_adv-941026.patch1.75 KBjweowu

Comments

jweowu’s picture

StatusFileSize
new1.75 KB
meba’s picture

Status: Active » Fixed

Good stuff! Committed, thanks!

Note: you HAVE to clear cache after you upgrade or use this patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.