By sui_page on
Is there anyway to add a custom search bar on the header of a Views page? I tried using adding a 'text area' in the header with PHP formatting and I put the code below in but it didn't work.
<?php
php if (isset($search['extra_field'])): ?>
<div class="extra-field">
<?php print $search['extra_field']; ?>
</div>
<?php endif; ?>
?>
Comments
You can create an exposed
You can create an exposed filter in Views. So that visitors can change the result using filter criteria.
Do you want to create a
Do you want to create a common search bar like the core one ?
If so
If you want a autocomplete field thing that filters automaticly your page. I will look for it too
[Suggestion not tested]
Create an Ajax Autocomplete Textfield in your view and set the submit to auto this could be the solution
:D