/
browse.conf
172 lines (156 loc) · 4.48 KB
/
browse.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
cache_timeout = 0
#
#
#
browseTypes = {
objects = {
displayName = _(Objects),
labelSingular = _("object"),
labelPlural = _("objects"),
table = ca_objects,
restrictToTypes = [],
#dontExpandTypesHierarchically = true,
availableFacets = [],
# formats available for display of results
# possible values are: images, list, timeline, map
views = {
images = {},
list = {},
map = {
data = ca_objects.georeference,
width = 100%,
height = 600px,
minZoomLevel = 2,
maxZoomLevel = 18,
display = {
labelTemplate = <l>^ca_objects.preferred_labels.name</l> (^ca_objects.idno),
contentTemplate = <div style='float:left; margin:0px 10px 10px 0px;'>^ca_object_representations.media.icon</div><p>^ca_objects.description</p>
}
},
timeline = {
data = ca_objects.creation_date,
display = {
title_template = <l>^ca_objects.preferred_labels.name</l> (^ca_objects.idno),
description_template = <p>^ca_objects.description</p>,
credit_template = ^ca_objects.rightsStatement.rightsStatement_text,
caption_template = <em>^ca_objects.caption</em>,
image = ^ca_object_representations.media.small,
icon = ^ca_object_representations.media.icon
}
}
},
sortBy = {
Identifier = ca_objects.idno,
Title = ca_object_labels.name
},
# --- default sort direction for the sortBy options
sortDirection = {
Identifier = asc,
Title = desc
},
# --- sortControlType = dropdown or list
sortControlType = dropdown,
# options = {
# selectMediaUsingRelationshipTypes = [relationshipType],
# selectMediaUsingTypes = [objectType],
# extendedInformationTemplate = ^ca_objects.description
# }
},
collections = {
displayName = _(Collections),
labelSingular = _("collection"),
labelPlural = _("collections"),
table = ca_collections,
restrictToTypes = [],
# formats available for display of results
# possible values are: images, list, timeline, map
views = {
images = {},
list = {}
},
sortBy = {
Relevance = _natural,
Identifier = ca_collections.idno,
Name = ca_collection_labels.name
},
# --- sortControlType = dropdown or list
sortControlType = dropdown
},
entities = {
displayName = _(People/Orgs),
labelSingular = _("person"),
labelPlural = _("people"),
table = ca_entities,
restrictToTypes = [],
showLetterBarFrom = ca_entity_labels.surname,
showLetterBarSorts = [ca_entity_labels.surname;ca_entity_labels.forename],
# formats available for display of results
# possible values are: images, list, timeline, map
views = {
images = {},
list = {}
},
sortBy = {
Relevance = _natural,
Identifier = ca_entities.idno,
Name = ca_entity_labels.surname;ca_entity_labels.forename
},
# --- sortControlType = dropdown or list
sortControlType = dropdown,
# options = {
# selectMediaUsingRelationshipTypes = [relationshipType],
# selectMediaUsingTypes = [objectType]
# }
},
occurrences = {
displayName = _(Works),
labelSingular = _("work"),
labelPlural = _("works"),
table = ca_occurrences,
restrictToTypes = [],
showLetterBarFrom = ca_occurrence_labels.name,
showLetterBarSorts = [ca_occurrence_labels.name],
# formats available for display of results
# possible values are: images, list, timeline, map
views = {
list = {}
},
sortBy = {
Relevance = _natural,
Identifier = ca_occurrences.idno,
Name = ca_occurrence_labels.name
},
# --- sortControlType = dropdown or list
sortControlType = dropdown,
# options = {
# selectMediaUsingRelationshipTypes = [relationshipType],
# selectMediaUsingTypes = [objectType]
# }
}
}
views = {
images = {
icon = glyphicon-th
},
list = {
icon = glyphicon-list
},
timeline = {
icon = glyphicon-time
},
map = {
icon = glyphicon-globe
}
}
# --- text for Browse menu item, default is "Browse"
browse_menu_button_text =
# --- default number of results per page/ajax load
defaultHitsPerBlock = 36
# --- set to list to show dropdown with links to each configured browse or a single Browse nav link when one browse is configured
browseMenuFormat =
# --- set if you don't want the browse menu to be preloaded with facets for the first browse type on open
dontPreloadBrowseMenu = 1
# --- refine_col_class -> boostrap col class to assign to refine col - defaults to: col-sm-8 col-md-8 col-lg-8
result_col_class =
# --- refine_col_class -> boostrap col class to assign to refine col - defaults to: col-sm-4 col-md-3 col-md-offset-1 col-lg-3 col-lg-offset-1
refine_col_class =