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.

Displaying info on child records of object record.

Hi,

I'm currently using Providence 1.7.5 and Pawtucket2 &  I'm working on the detail pages of object records in Pawtucket. I wanted to be able to display or link to the children of object records in the detail page, but I'm not sure how to do this. I know that the text to do this in the ca_collections detail pages is:

{{{<ifcount code="ca_objects" min="1" max="1"><div class='unit'><unit relativeTo="ca_objects" delimiter=" "><l>^ca_object_representations.media.icon</l><div class='caption'>Related Object: <l>^ca_objects.preferred_labels.name</l></div></unit></div></ifcount>}}}

but this does not work in the object details file. Can you give me any tips on how to make this information appear in my object details page. 

Comments

  • To show object records related to an object, try this:

    {{{<ifcount code="ca_objects.related" min="1" max="1"><div class='unit'><unit relativeTo="ca_objects.related" delimiter=" "><l>^ca_object_representations.media.icon</l><div class='caption'>Related Object: <l>^ca_objects.preferred_labels.name</l></div></unit></div></ifcount>}}}

    Note the "ca_objects.related".
Sign In or Register to comment.