I am using the search box provided from the Custom Search module. It works great. I want to know if there is any way by which i can include the search box in a view which i have created. Regards
PS: I tried this but no effect:
<?php
$block = module_invoke('custom_search', 'block_view', 'custom_search');
print render($block);
?>
It displays nothing
Based on below comments i tried doing this:
<?php
$block = module_invoke('custom_search', 'block', 'view', 0);
print $block['content'];
?>