I’d like to create a site-wide search box that combines the query type options of Omeka’s simple search box with the item type options of Omeka’s advanced search.
I wonder which of the following would be smarter and more feasible:
$this->partial('items/search-form.php', array('formAttributes' => array('id'=>'advanced-search-form')));Use CSS to hide the form fields that aren’t desired for site-wide display but show fields in the Advanced Search proper. Then somehow build in an ‘exact match’ query type option (is this part even possible?)
Add Item Type to the Simple Search filters (adding an ‘Items’ table query)
Another option I haven’t thought of
I prefer the idea of using Advanced Search site-wide because I find the (browse) results page to be more user friendly than the (search) results page.
I look forward to your thoughts!