By glennr on
I'm looking for a way to add default text ("search this site") inside the search box. Can anyone help?
This is for a Drupal 5.x site, but I'd like use it on future Drupal 6.x sites, if possible, too.
Thanks.
I'm looking for a way to add default text ("search this site") inside the search box. Can anyone help?
This is for a Drupal 5.x site, but I'd like use it on future Drupal 6.x sites, if possible, too.
Thanks.
Comments
The value attribute of the
The value attribute of the input tag for the search bar is what you want. You can apply a theme override to include your custom value into the search bar.
___________________
Preston So
Web/Print Designer
Monarch Digital, Colorado Springs
My non-updated non-Drupal site
___________________
Preston So
Use Custom search module
I suggest to use the module custom search: http://drupal.org/project/custom_search
It does all you need to fully customyze your search block.
Thanks
Thanks prestonso and Michel, but I solved the original problem myself and, more recently, have been using the excellent Custom Search module.