"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 |
Jump to:
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
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
Thanks for the help! I had not stumbled into this great page on template overrides.