Thanks,
Winona
Thanks for the excellent question.
Here's what I would try:
1. Copy application/views/scripts/items/advanced-search.php to your
theme under the items folder.
So you should have something like:
themes/yourtheme/items/advanced-search
2. Add the some code like the following to the top of your theme:
<?php echo js('jquery'); ?>
<script type="text/javascript" charset="utf-8">
jQuery.noConflict();
jQuery(document).ready(function() {
var blackListElements = new Array();
blackListElements[0] = "Title";
blackListElements[1] = "Description";
blackListElements[2] = "Creator";
for (var i = 0; i < blackListElements.length; i++){
jQuery("#advanced-0-element_id option[label='" +
blackListElements[i] + "']").hide();
}
});
</script>
3. The sample code above should hide the "Title", "Description", and
"Creator" elements from showing up on your advanced search page. You
can change the blacklist of elements to whatever ones you want to
remove.
Note: This only hides the elements from the advanced-search page. It
is not meant as a way to securely hide those fields in Omeka.
Currently, all the elements in Omeka are searchable via simple search,
all of the elements may show up in other output formats. We do not
have private/public element fields.
Let me know if this works.
thanks!
-Winona
On Jan 11, 11:50 pm, Will Riley <wanderingw...@gmail.com> wrote: