By pentool on
Hello,
I want to change the "Search this site" text which is displayed when adding the search form to a region. I searched all the Drupal installation directories and subfolders, and the theme folders all over the place for the string "Search this site".
It doesn't come up anywhere in a full site search! So where does the search form is being put together where I can change that string?
Thanks
Comments
Go to your blocks section,
Go to your blocks section, locate the search block, click on Configure, there is a title field, enter a title or type
<none>for no titleNo, that was not my question,
No, that was not my question, but thanks.
Ok, so I've found using the
Ok, so I've found using the Devel Themer module, that the block.tpl.php file outputs the "content" variable, eg
<?php print $block->content ?>That little Themer module will tell me, (when you clicking on the array buttons) that the content is defined as:
So my question is now, where do they put the above listed code into the "content" variable?
5 mins
use this module - http://drupal.org/project/stringoverrides - and you'll be done in 5 minutes.
allows you to replace any text string on your site. changes it in all instances, so you can only use on things where that is ok.
will not remove or change the ':'.
Will check it out. Thanks.
Will check it out. Thanks.
try this
http://www.computerminds.co.uk/customising-drupal-search-block-form