Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By cudeso on
Hi,
What would be the easiest way to theme the default search form (/search/node) in Drupal 7?
I'd like to change the title, "Enter your keywords" and the label for the submit button but using _preprocess_search_theme_form doesn't seem to work.
Thanks,
koen
Comments
There is no search box any
There is no search box any more in D7. Use _preprocess_search_block_form instead. See http://drupal.org/node/254940#search_box
Just add this code in ur template.php
hi koen try this code ... for me it works :)
simpler version
If you are just changing simple element you could just use something like this