Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Changing the view of the gallery sets

Hello

We are trying to change the metadata elements that display in the galleries

We want the following:
caption
set_item_description

But we are only able to show

Object caption and Object Description

We have created galleries as sets and want a different write up for them.

Here's the link to the website in progress:

http://14.139.235.5/providence/pawtucket4/

Best
Koyna

Comments

  • The right hand column with the object information of this page: http://14.139.235.5/providence/pawtucket4/index.php/Gallery/52 is coming from this file: /views/Gallery/set_item_info_html.php

    You can use display templates to show information there relative to the object record.

    To display information associated with the set item, like the set_item_description, you'll need to load a set item record. The id of the set item is passed to the view mentioned above as "item_id". Something like this should work in set_item_info_html.php:

    $pn_item_id = $this->getVar("item_id");
    $t_set_item = new ca_set_items($pn_item_id);
    print $t_set_item->get("set_item_description");

    Also note the set description displayed in the gallery interface is configured in gallery.conf

  • Thanks maria, we will try this and see if it works!

Sign In or Register to comment.