"Search this site" string hardcoded?

neural - April 5, 2008 - 02:14
Project:Drupal
Version:6.1
Component:search.module
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

It appears that the Drupal Search module, since version 6 has a "Search this site" string which precedes the site's search field.

There is no way to disable this text but editing the core files.

I tried looking at the API documentation to see if there's a way to override it but I didn't find anything.

Besides this breaks some themes like Bluebreeze.

See more there:
http://drupal.org/node/230800

#1

Rowanw - April 5, 2008 - 02:47
Category:bug report» support request

Firstly, you can change the wording using the language module.

Secondly, just about every bit of HTML in Drupal can be overridden with your own theme, have a look at this page and scroll down to the 'Overriding templates' section.

#2

neural - April 5, 2008 - 12:22
Status:active» closed

Thanks for the help! I had not stumbled into this great page on template overrides.

 
 

Drupal is a registered trademark of Dries Buytaert.