Hi All,
Im nearly ready to go live with my install however I have two small issues that are niggling me.
Firstly, it would be great if I could add a drop down to remove ambiguity from advanced search custom fields, i.e. if I could use simple vocal to limit a custom field, then only show those on advanced search, i.e. Limit a custom field called colour to red yellow and blue via simple vocab, then when you click that field in advanced search, have a drop down allowing only the selection of those fields (red yellow and blue).
I dont think this is easily possible however, could someone please clarify?
Secondly, failing the above, is it possible to hide some of the unused default fields from the drop downs on advanced search?
i.e. BCC, Bibliography etc?
I have tried using the,
<?php echo js('jquery'); ?>
<script type="text/javascript" charset="utf-8">
jQuery.noConflict();
jQuery(document).ready(function() {
var blackListElements = new Array();
blackListElements[0] = "Contributor";
for (var i = 0; i < blackListElements.length; i++){
jQuery("#advanced-0-element_id option[label='" +
blackListElements[i] + "']").hide();
}
});
</script>
method at the top of advanced-search.php however there are two issues,
Firstly it doesnt work in I.E. 9 and secondly, for some bizarre reason, it stops my exhibit builder from working (nothing happens when I click the add item button, instead of the items selector popping up) reverting the changes restores functionality.
Any ideas much appreciated, I am really close to going live with this excellent collections platform. If anyone can suggest something please go easy (sorry) Im a bit new to php.
Thanks again and keep up the great work!