search

Views Module Exposed Filter applied to multiple fields?

Question: 
Views Module Exposed Filter applied to multiple fields?

Related links:

http://drupal.org/node/281056

Block Search Form Submit Button and Input Box

Question: 
Why does the submit button appear below the input box?

The two blocks below are examples of the drupal search box. The first is the stanadard wereas the second has been overriden via the template.php file using the theme function and returning the output from drupal_render() function. The point to note is that the second omits the <div class="container-inline"> which results in the submit button being below the input box.

Search box in page tpl php

Question: 
How to set-up a search box within page.tpl.php?


<?php if (!empty($search_box)): ?>
<div id="search-box"><?php print $search_box; ?></div>
<?php endif; ?>

Customising search box

Question: 
Why does the submit button fall below the input box?

The seach box together with other forms can be modifed as per the article:

http://www.lullabot.com/articles/modifying-forms-5-and-6

Note:

When using this method the encasing <div class="container-inline"> is removed causing the imput box and the submit button not to be inline - the submit button appears below the input box and not to the right.