I made a custom search form with text fields and dropdown.
Now, my form is in its own template file - sidebar-search.php.
I have also made the searchform.php which should get the data from sidebar and then display results.
I'm using this method for the query.
My problem is this: When I put the "action" to "bloginfo('home')" - nothing happens.
When I put the "action" to "TEMPLATEPATH . 'searchform.php'" - shows a blank page. (this is now updated - see last lines)
Here is the code from searchform.php. Here is the sidebar-search (removed links, check update at the bottom)
I now placed my code in search.php, and here is how it looks like: link
It still just reloads the page and no results are shown.
My action is now like this:
action="<?php echo get_bloginfo('home') ?>"