There's a telepathy module for that.
search
Print Search Box Form in Template Theme File, Drupal 7
Neither $search_form nor $search_box is available in Zen or, likely, any other themes in Drupal 7. Instead, there's a block.
If you need to print the search box in page.tpl.php, you'll need to render the block and then print it like so:
To break that down, 'search' is the module invoking the block. 'block_view' is the operation we want to call, that is, we want to view the block, and 'form' is the machine name of the block you want to print.
Modify Views SQL Query in Drupal, Restrict View to Search Term
So I wanted to be able to pass a default value to the the Views search filter, to filter by a view by a search term, to display that view in a block.
EDIT: There is an easier way to do this, which renders this whole tutorial useful only for other SQL hijacking. Under Filter, select Node: Body. See screenshot.
I had two options, create a view, create an RSS feed, run it through Yahoo Pipes, and cycle it back through, or modify the views query.






