By Anonymous (not verified) on
I simply want the ability to remove the default text "Search this site: " from the $search_box variable when theming in Drupal 6, as well as possibly changing the submit button's text from "Search" to "Go!" or something like that... The way I think this function should be overridden is below. I can't see why it's not working.
Comments
Also would like to see how
Also would like to see how to override this function properly.
someone is bound to know on
deleted
Customizing Search Block
Customizing Search Block Form in Drupal 6.0
http://drupal.org/node/232874
----
Darly
As I understand it, the
As I understand it, the $search_box and search block are two different things...
functions from Search mdule
----
Darly
How I changed the Search Box in Drupal 6
How I changed the Search Box in Drupal 6
http://drupal.org/node/232874#comment-779380
----
Darly
thanks to Darly!
With Darly's links to pointers to some information I had not run across previously, I was finally able to put things I had seen in several different places together
And the label?
Your example does not remove the label tag. This one should solve this issue.
Thanks for a great tutorial.
Thanks for a great tutorial. But can you make this work with multilingual sites? I got this to work when I removed translation strings but still I think there is a better way ;)
I got this to work now!
Thanks you both Purrin and Hass :)