Hi everybody, I am new to Omeka and I am working with a collection of items that need to be displayed in a very specific way. So, in the page of each item a gallery of pictures appear on top and under it, there is a list of descriptors for the item like: Title: XXXX, First Name: YYYY, Family Name: ZZZZ, etc.
I need the descriptors to be a paragraph (including some key words that are hyperlinks). Is there a theme or a tool or technique that could do this automatically? If not, how would some more epxerienced Omeka user would do it?
I don’t know of a specific theme that does exactly what you want, but you can modify your theme to do it.
Instead of echoing all of the values as is done in view/common/resource-page-block-layout/values.phtml to display a list:
echo $resource->displayValues($options);
You would override this file in your theme by adding the table and inserting the values in the desired location. With the desired HTML (links, etc.)
Title: <?php echo $resource->value('foaf:title'); ?>, First Name: <?php echo $resource->value('foaf:givenName'); ?>, First Name: <?php echo $resource->value('foaf:surname'); ?>
Because this would change the template for all items in the site, you might want to do some additional checking in the file to display the values differently depending on the item set or keep these items in their own site with the custom theme.