Custom search box to be included in a view 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:

&lt;?php
  $block = module_invoke('custom_search', 'block_view', 'custom_search');
  print render($block); 
?&gt;


It displays nothing

Based on below comments i tried doing this:

&lt;?php
$block = module_invoke('custom_search', 'block', 'view', 0);
print $block['content'];
  ?&gt;
If you are trying to filter views result, then adding Custom Search block will not work.
To get this work you need to add Global: Combine fields filter under Add filter criteria, then select fields on which you want to filter the result from Choose fields to combine for filtering. Expose this field to display a search text field. Please check screenshot below: