By crevillo on
Hi. Looking at search module, i can see this piece of code.
// Construct the search form.
$output = drupal_get_form('search_form', NULL, $keys, $type);
$output .= $results;
So, the search results is always showing the search form before the results of the search. Is there any way to override this function in order to show the search form in other place of the page?. (For example, after the results list)
Thank you.
Comments
template.php
in your template.php, define your own mytheme_search_form function to overwrite the default one.