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.

No date showing on detail view

edited January 19 in Pawtucket

I have read through the documentation on adding metadata elements to the object view.
I think that it should show the date of the item as the file themes/default/views/Details/ca_objects_default_html.php
includes
" {{{

Date:
^ca_objects.dateSet.setDisplayValue
}}} "

The dates I have set for objects are type Creation Date.
No date appears on the details pages:

Where should the date be set so that it shows on this view?

Comments

  • edited January 30

    I have solved this:
    To find the bundle table names, look at the database table "ca_bundle_display_placements". This will show which table fields are available.
    In my case I wanted to use the creation date field: ca_objects.creation_date
    and the rights field: ca_objects.rights_restrictions

    Then add the line into the file themes/default/views/Details/ca_objects_default_html.php
    {{{ <ifdef code="ca_objects.creation_date"><H6>Date:</H6>^ca_objects.creation_date<br/></ifdef>}}}
    {{{<ifdef code="ca_objects.rights_restrictions"><H6>Rights:</H6>^ca_objects.rights_restrictions<br/></ifdef>}}}
    The result is

Sign In or Register to comment.