Removing "Search this site" from the search block in Drupal 6
function phptemplate_preprocess_search_block_form(&$variables) { unset($variables['form']['search_block_form']['#title']); unset($variables['form']['search_block_form']['#printed']); $variables['search']['search_block_form'] = drupal_render($variables['form']['search_block_form']); $variables['search_form'] = implode($variables['search']);}The variable $variables['form']['search_block_form']['#title'] contains the string Search this site: or its translation, but gets rendered as a label - fortunately simply unsetting it removes the label altogether! I am not sure why $variables['form']['search_block_form']['#printed'] also needs to be unset, but if that line is omitted, the text box (input field) won’t show up.