/ Published in: PHP

Wizzlern, a Dutch Drupal trainer, has a Dutch article online on how to remove the "search this site" label in the Drupal search-block.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * remove label from search block. As per http://wizzlern.nl/drupal/zoek-door-deze-site-bij-zoekveld-verwijderen */ function phptemplate_preprocess_search_theme_form(&$vars) { // Remove search field title. Â // Render the altered form array. // Remove the #printed flag first to enable us to re-render the form. $vars['search']['search_theme_form'] = drupal_render($vars['form']['search_theme_form']); }
URL: http://wizzlern.nl/drupal/zoek-door-deze-site-bij-zoekveld-verwijderen
Comments
