Hi everyone,
I am trying to add the functionality of the autocomplete feature on the Add Tags tab in the item for to the advanced search --> search by tags. The line of code that I’ve identified when I inspect code in the browser is:
<input type="text" name="tags" size="20" id="tags" class="textinput ui-autocomplete-input" value="" autocomplete="off">
In the file /omeka/admin/themes/default/items/tag-form.php, the code looks like this:
<input type="text" name="tags" size="20" id="tags" class="textinput" value="" />
I tried to add these lines to the search-form.php file under search by tags like so:
<div class="field">
<div class="two columns alpha">
<?php echo $this->formLabel('tag-search', __('Search By Tags')); ?>
</div>
<div class="five columns omega inputs">
<input type="text" name="tags" size="20" id="tags" class="textinput ui-autocomplete-input" value="" autocomplete="off">
<?php
echo $this->formText('tags', @$_REQUEST['tags'],
array('size' => '40', 'id' => 'tag-search')
);
?>
</div>
</div>
</div>
But it doesn’t work. Does anyone have suggestions on how I can include this functionality within advanced search for Tags?
Thanks! Jen - Systems Librarian, American Museum of Natural History