# Allow download of representation on object detail page?
# accepted values include: anyone, logged_in, logged_in_privileged
allow_ca_objects_representation_download = anyone
#
# Details supported in this theme
#
detailTypes = {
obra = {
displayName = "Obra",
table = ca_objects,
restrictToTypes = [artworks]
options = {
pdfExportTitle = ^ca_objects.preferred_labels.name
}
},
documento = {
displayName = "Documento",
table = ca_objects,
restrictToTypes = [file,documents,document_parts],
options = {
pdfExportTitle = ^ca_objects.preferred_labels.name
}
},
entidade = {
displayName = "Entidade",
table = ca_entities,
restrictToTypes = [],
options = {
pdfExportTitle = ^ca_entities.preferred_labels.displayname
},
disableRelatedItemsBrowse = 1
},
evento = {
displayName = "Evento",
table = ca_occurrences,
restrictToTypes = [],
options = {
pdfExportTitle = ^ca_occurrences.preferred_labels.name
},
disableRelatedItemsBrowse = 1
}
# objects = {
# displayName = _(Objects),
# table = ca_objects,
# restrictToTypes = [],
# options = {
# # Next/previous/back navigation in detail
# nextLink =
Next
,
# previousLink = Prev
,
# resultsLink = Back
,
# # Next/previous navigation in media viewer overlay
# showRepresentationViewerNextPreviousLinks = 1,
# representationViewerNextLink = ^ca_objects.preferred_labels%truncate=20&ellipsis=1 (^ca_objects.idno) ,
# representationViewerPreviousLink = ^ca_objects.preferred_labels%truncate=20&ellipsis=1 (^ca_objects.idno),
# #
# # Sharing
# #
# enableComments = 1,
# enableShare = 1,
# enablePDF = 1,
# #
# # Representation viewer
# #
# representationViewerPrimaryOnly = 0,
# representationViewerDontShowPlaceholder = 0,
# representationViewerCaptionTemplate = ^ca_object_representations.preferred_labels.name
,
# #
# # Maps
# #
# mapAttributes = [ca_objects.georeference],
# mapWidth = 100%,
# mapHeight = 200,
# #mapMinZoomLevel - Minimum zoom level to allow; leave null if you don't want to enforce a limit
# #mapMaxZoomLevel - Maximum zoom level to allow; leave null if you don't want to enforce a limit
# #mapZoomLevel (also supports zoom_level) - Zoom map to specified level rather than fitting all markers into view; leave undefined if you don't want to specify a zoom level. IF this option is set minZoomLevel and maxZoomLevel will be ignored.
# #mapZoomLevel = 12,
# #mapMinZoomLevel = 3,
# #mapMaxZoomLevel = 15,
# mapLabelTemplate = ^ca_places.preferred_labels.name%delimiter=;_,
# mapContentTemplate = ,
# # Customize export download file names; can be set to a display template or static text
# pdfExportTitle = ^ca_objects.preferred_labels.name,
# #
# # Annotations
# #
# # display annotations? Valid values are: viewer (in viewer), div (in external div with class #detailAnnotations), none (no display) [Default is none]
# displayAnnotations = div,
# # template used to format annotation in list; evaluated relative to the annotation
# displayAnnotationTemplate = ^ca_representation_annotations.preferred_labels.name (^ca_representation_annotations.duration%asTimecode=hms),
# # --- enable mag glass option in media toolbar
# zoom = 1
# },
# # --- aliases to this detail page - these map to browses that return this type of detail, only need to be defined if the key of this array differs from the browses that find this record type
# #aliases = []
# },
# entities = {
# displayName = _(People),
# table = ca_entities,
# restrictToTypes = [],
# options = {
# nextLink = Next
,
# previousLink = Prev
,
# resultsLink = Back
,
# enableComments = 0,
# enableShare = 0,
# map_attribute = ca_places.georeference,
# map_width = 350,
# map_height = 200
# }
# },
# occurrences = {
# displayName = _(Works),
# table = ca_occurrences,
# restrictToTypes = [],
# options = {
# nextLink = Next
,
# previousLink = Prev
,
# resultsLink = Back
,
# enableComments = 0,
# enableShare = 0,
# }
# },
# places = {
# displayName = _(Places),
# table = ca_places,
# restrictToTypes = [],
# options = {
# nextLink = Next
,
# previousLink = Prev
,
# resultsLink = Back
,
# enableComments = 0,
# enableShare = 0,
# }
# },
# collections = {
# displayName = _(Collections),
# table = ca_collections,
# restrictToTypes = [],
# options = {
# nextLink = Next
,
# previousLink = Prev
,
# resultsLink = Back
,
# enableComments = 0,
# enableShare = 0,
# enablePDF = 1,
# # --- exported pdf has label of record, leave blank to default to export_results
# pdfExportTitle = label
# }
# },
# annotations = {
# displayName = _(Annotations),
# table = ca_representation_annotations,
# restrictToTypes = [],
# options = {
# nextLink = Next
,
# previousLink = Prev
,
# resultsLink = Back
,
# enableComments = 0,
# enableShare = 0,
# }
# }
}