forked from omeka/theme-centerrow
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.ini
More file actions
413 lines (346 loc) · 22.4 KB
/
config.ini
File metadata and controls
413 lines (346 loc) · 22.4 KB
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
[config]
; Logo
logo.type = "file"
logo.options.label = "Logo File"
logo.options.description = "Choose a logo file. This will replace the site title in the header of the theme. Recommended maximum width for the logo is 500px."
logo.options.validators.count.validator = "Count"
logo.options.validators.count.options.max = "1"
logo_text.type = "text"
logo_text.options.label = "Logo Text"
logo_text.options.description = "Add some text to be displayed below your theme's logo."
logo_text_position.type = "select"
logo_text_position.options.label = "Logo Text Position"
logo_text_position.options.description = "Where to position the logo text."
logo_text_position.options.multiOptions.below = "Below Logo"
logo_text_position.options.multiOptions.beside = "Beside Logo"
; Header Background Image
header_image.type = "file"
header_image.options.label = "Header Image"
header_image.options.description = "Choose an image file to display below your header."
header_image.options.validators.count.validator = "Count"
header_image.options.validators.count.options.max = "1"
header_image_height.name = "header_image_height"
header_image_height.type = "text"
header_image_height.options.label = "Header Image Height"
header_image_height.options.description = "The maximum height the header image should use. Use valid CSS length units (px, em, rem, etc.)"
header_image_height_mobile.name = "header_image_height_mobile"
header_image_height_mobile.type = "text"
header_image_height_mobile.options.label = "Header Image Height For Mobile Devices"
header_image_height_mobile.options.description = "The maximum height the header image should use at smaller resolutions. Use valid CSS length units (px, em, rem, etc.)"
header_image_position.name = "header_image_position"
header_image_position.type = "select"
header_image_position.options.label = "Header Image Position"
header_image_position.options.description = "Where to fix header image image."
header_image_position.options.multiOptions.center = "Fix to center"
header_image_position.options.multiOptions.flex_start = "Fix to top"
header_image_position.options.multiOptions.flex_end = "Fix to bottom"
header_everywhere.type = "checkbox"
header_everywhere.options.label = "Show Header Image On Homepage"
header_everywhere.options.description = "Check this box if you wish to show the featured item on the homepage alongside the featured carousel."
header_everywhere.options.value = "0"
; Header Alt Text
header_image_alt.type = "text"
header_image_alt.options.label = "Alt Text for Header Image"
header_image_alt.options.description = "Provide descriptive text of the header image for screen readers."
; Home Slider Autoplay
home_slider_autoplay.name = "home_slider_autoplay"
home_slider_autoplay.type = "checkbox"
home_slider_autoplay.options.label = "Autoplay Homepage Slides"
home_slider_autoplay.options.value = "1"
; Home Slider Autoplay Speed
home_slider_autoplay_speed.name = "home_slider_autoplay_speed"
home_slider_autoplay_speed.type = "text"
home_slider_autoplay_speed.options.label = "Slide Autoplay Speed"
home_slider_autoplay_speed.options.description = "The speed the slides transition in milliseconds if using autoplay."
home_slider_autoplay_speed.options.value = "5000"
; Show Children in Navigation
nav_show_levels.name = "nav_show_levels"
nav_show_levels.type = "checkbox"
nav_show_levels.options.label = "Show Top Navigation Child Pages"
nav_show_levels.options.description = "Check to show child pages in the top navigation bar. Uncheck to show top-level items only."
nav_show_levels.options.value = "0"
; Homepage
display_featured_item.type = "checkbox"
display_featured_item.options.label = "Display Featured Item"
display_featured_item.options.description = "Check this box if you wish to show the featured item on the homepage."
display_featured_item.options.value = "1"
display_featured_collection.type = "checkbox"
display_featured_collection.options.label = "Display Featured Collection"
display_featured_collection.options.description = "Check this box if you wish to show the featured collection on the homepage."
display_featured_collection.options.value = "1"
display_featured_exhibit.type = "checkbox"
display_featured_exhibit.options.label = "Display Featured Exhibit"
display_featured_exhibit.options.description = "Check this box if you wish to show the featured exhibit on the homepage."
display_featured_exhibit.options.value = "1"
homepage_text.type = "textarea"
homepage_text.options.label = "Homepage Text"
homepage_text.options.description = "Add some text to be displayed on your homepage."
homepage_text.options.rows = "5"
homepage_text.options.attribs.class = "html-input"
; General
no_img_hover_effect.type = "checkbox"
no_img_hover_effect.options.label = "Disable Image Hover Effect"
no_img_hover_effect.options.description = "Check this box if you wish to disable the zoom effect when hovering over images throughout the theme."
no_img_hover_effect.value = "0"
browse_item_style.type = "select"
browse_item_style.options.label = "Browse Item Page Style"
browse_item_style.options.description = "Choose the style of the browse item view. `Grid` will show items in a grid with focus on the thumbnails, while `List` will show items as a vertical list with focus on metadata."
browse_item_style.options.multiOptions.grid = "Grid (default)"
browse_item_style.options.multiOptions.list = "List"
browse_hide_sec_nav.type = "checkbox"
browse_hide_sec_nav.options.label = "Hide Secondary Navigation"
browse_hide_sec_nav.options.description = "Check this box if you wish to hide the secondary navigation on browse pages (Browse All, Browse Collections, Browse by Tag, ...)"
browse_hide_sec_nav.value = "0"
footer_text.type = "textarea"
footer_text.options.label = "Footer Text"
footer_text.options.description = "Add some text to be displayed in your theme's footer."
footer_text.options.rows = "5"
footer_text.options.attribs.class = "html-input"
display_footer_copyright.type = "checkbox"
display_footer_copyright.options.label = "Display Copyright in Footer"
display_footer_copyright.options.description = "Check this box if you wish to display your site's copyright information in the footer."
use_advanced_search.type = "checkbox"
use_advanced_search.options.label = "Use Advanced Site-wide Search"
use_advanced_search.options.description = "Check this box if you wish to allow users to search your whole site by record (i.e. item, collection, file) and choose their boolean method."
use_advanced_search.value = "1"
replace_quicksearch.type = "checkbox"
replace_quicksearch.options.label = "Replace quick search bar with link to items/search"
replace_quicksearch.options.description = "Check this box if you wish to use items/search for queries entered in quick search bar."
replace_quicksearch.value = "1"
no_quicksearch.type = "checkbox"
no_quicksearch.options.label = "Do not provide quick search bar"
no_quicksearch.options.description = "Check this box to completely hide quick search bar."
no_quicksearch.value = "1"
show_breadcrumbs.type = "checkbox"
show_breadcrumbs.options.label = "Hide 'breadcrumbs'"
show_breadcrumbs.options.description = "Check this box to completely hide the breadcrumbs (the path to the current site)."
show_breadcrumbs.value = "1"
; Floating Homepage
floating_homepage.type = "checkbox"
floating_homepage.options.label = "Floating Homepage"
floating_homepage.options.description = "Check this box the homepage main element should float freely."
floating_homepage.options.value = "0"
; Body background color
body_bg_color.type = "text"
body_bg_color.options.attribs.class = "color"
body_bg_color.options.label = "Body background color"
body_bg_color.options.value = "#FFFFFF"
body_bg_color.options.validators.hex.validator = "HexColor"
border_color.type = "text"
border_color.options.attribs.class = "color"
border_color.options.label = "Border color"
border_color.options.value = "#232E58"
border_color.options.validators.hex.validator = "HexColor"
; Body background image
background_image.type = "file"
background_image.options.label = "Body Background Image"
background_image.options.description = "Choose an image file to display as the background of your theme."
background_image.options.validators.count.validator = "Count"
background_image.options.validators.count.options.max = "1"
background_image_position.type = "select"
background_image_position.options.label = "Body Background Image Position"
background_image_position.options.description = "Where to affix body background image when scaling down using a fixed height."
background_image_position.options.multiOptions.center = "Fix to center"
background_image_position.options.multiOptions.top = "Fix to top"
background_image_position.options.multiOptions.bottom = "Fix to bottom"
background_image_position.options.multiOptions.left = "Fix to left"
background_image_position.options.multiOptions.right = "Fix to right"
background_image_repeat.type = "select"
background_image_repeat.options.label = "Body Background Image Repeat"
background_image_repeat.options.description = "How to repeat the body background image."
background_image_repeat.options.multiOptions.no_repeat = "Do not repeat"
background_image_repeat.options.multiOptions.repeat = "Repeat"
background_image_repeat.options.multiOptions.repeat-x = "Repeat horizontally"
background_image_repeat.options.multiOptions.repeat-y = "Repeat vertically"
background_image_size.type = "select"
background_image_size.options.label = "Body Background Image Size"
background_image_size.options.description = "How to size the body background image."
background_image_size.options.multiOptions.auto = "Auto"
background_image_size.options.multiOptions.cover = "Cover"
background_image_size.options.multiOptions.contain = "Contain"
; background_image_opacity.type = "text"
; background_image_opacity.options.label = "Body Background Image Opacity in Percent"
; background_image_opacity.options.description = "The opacity of the background image in percent. 0 is fully transparent, 100 is fully opaque."
; background_image_opacity.options.value = "100"
background_image_donotshowundercontent.type = "checkbox"
background_image_donotshowundercontent.options.label = "Do not show background image under content"
background_image_donotshowundercontent.options.description = "Check this box if you wish to not show the background image under the content area."
background_image_donotshowundercontent.options.value = "1"
link_color.type = "text"
link_color.options.attribs.class = "color"
link_color.options.label = "Link color"
link_color.options.value = "#232E58"
link_color.options.validators.hex.validator = "HexColor"
; Item Page:
item_page_layout.type = "select"
item_page_layout.options.label = "Layout"
item_page_layout.options.description = "Defines the item page layout. Vertical layouts show media above (or beneath) metadata. Horizontal layouts show media and metadata side by side, with media on the left or right."
item_page_layout.options.multiOptions.vertical = "Vertical Layout (default)"
item_page_layout.options.multiOptions.vertical_rev = "Vertical Layout (reversed)"
item_page_layout.options.multiOptions.horizontal = "Horizontal Layout"
item_page_layout.options.multiOptions.horizontal_rev = "Horizontal Layout (reversed)"
item_page_layout_content_ratio.type = "text"
item_page_layout_content_ratio.options.label = "Content Ratio"
item_page_layout_content_ratio.options.description = "Defines the width ratio between primary content (media) and secondary content (metadata). Enter the percentage of the primary content width (e.g., enter `60` for 60% width for primary content and 40% width for secondary content). Only applies to horizontal layouts. Can exceed 100%."
item_page_layout_content_ratio.options.value = "50"
media_only_primary.type = "checkbox"
media_only_primary.options.label = "Show only primary media"
media_only_primary.options.description = "Check this box if you wish to show only the primary media on the item page, hiding all other media files."
media_only_primary.options.value = "0"
media_link_to_url.type = "checkbox"
media_link_to_url.options.label = "Link media to URL"
media_link_to_url.options.description = "Check this box if you wish to link media files to the URL set in the item metadata. Clicking on the media file will open the URL in a new tab. Only applies if option 'Show only primary media' is enabled and 'Use lightgallery' is disabled!"
media_link_to_url.options.value = "0"
media_lightgallery.type = "checkbox"
media_lightgallery.options.label = "Use lightgallery"
media_lightgallery.options.description = "Check this box if you wish to use the lightgallery to display media files. Using this in combination with the PDF Embed plugin also shows PDF files."
media_lightgallery.options.value = "0"
media_lightgallery_pdf_embed_hide_toolbar.type = "checkbox"
media_lightgallery_pdf_embed_hide_toolbar.options.label = "Hide toolbar from PDF viewer"
media_lightgallery_pdf_embed_hide_toolbar.options.description = "Check this box if you wish to hide the toolbar used in the PDF Viewer. This works only in combination with the PDF Embed plugin and the PDF.js option or if the browser has the same implementation."
media_lightgallery_pdf_embed_hide_toolbar.options.value = "0"
other_media.type = "checkbox"
other_media.options.label = "Non-Image Media"
other_media.options.description = "Check this box if you wish to display files unsupported by the media viewer as links on the page. Uncheck if you want them to remain hidden."
other_media.options.value = "1"
media_caption.type = "select"
media_caption.options.label = "Media Caption"
media_caption.options.description = "The content of the media caption within a lightgallery slide"
media_caption.options.multiOptions.title = "Title"
media_caption.options.multiOptions.description = "Description"
media_caption.options.multiOptions.none = "None"
media_image_size.type = "select"
media_image_size.options.label = "Media Image Size"
media_image_size.options.description = "The image size to use for media files."
media_image_size.options.multiOptions.thumbnail = "Thumbnail"
media_image_size.options.multiOptions.square_thumbnail = "Square Thumbnail"
media_image_size.options.multiOptions.fullsize = "Full Size"
media_image_max_height.type = "text"
media_image_max_height.options.label = "Media Image Max Height"
media_image_max_height.options.description = "The maximum height of media images in pixels. If set to 0, no limit is applied."
media_image_max_height.options.value = "400"
hide_item_heading.type = "checkbox"
hide_item_heading.options.label = "Hide heading"
hide_item_heading.options.description = "Check this box if you wish to hide the heading on the item page. NOTE: If you wish to hide all headings, use Settings -> Show Element Set Headings"
hide_item_heading.options.value = "0"
hide_item_metadata_title.type = "checkbox"
hide_item_metadata_title.options.label = "Hide Dublin Core Title entry"
hide_item_metadata_title.options.description = "Check this box if you wish to hide the Dublin Core title entry on the item page."
hide_item_metadata_title.options.value = "1"
show_citation.type = "checkbox"
show_citation.options.label = "Show citation"
show_citation.options.description = "Check this box if you wish to display a citation on the item page."
show_citation.options.value = "1"
show_outputformats.type = "checkbox"
show_outputformats.options.label = "Show list of output formats"
show_outputformats.options.description = "Check this box if you wish to display links to output formats on the item browse and item (show) pages."
show_outputformats.options.value = "1"
; Collection Pages
hide_collection_heading.type = "checkbox"
hide_collection_heading.options.label = "Hide heading"
hide_collection_heading.options.description = "Check this box if you wish to hide the heading on the collection page."
hide_collection_heading.options.value = "0"
hide_collection_metadata_title.type = "checkbox"
hide_collection_metadata_title.options.label = "Hide Dublin Core Title entry"
hide_collection_metadata_title.options.description = "Check this box if you wish to hide the Dublin Core title entry on the collection page as it is redundant."
hide_collection_metadata_title.options.value = "1"
browse_collection_style.type = "select"
browse_collection_style.options.label = "Browse Collection Page Style"
browse_collection_style.options.description = "Choose the style of the browse collection view. `Grid` will show items in a grid with focus on the thumbnails, while `List` will show items as a vertical list."
browse_collection_style.options.multiOptions.grid = "Grid (default)"
browse_collection_style.options.multiOptions.list = "List"
collectionitems_as_list.type = "checkbox"
collectionitems_as_list.options.label = "Show Collection Items as list"
collectionitems_as_list.options.description = "To show Collection Items as list change the `Browse List Style` of the Browse Items page to `List`. This will show the collection items as a list as well instead of a grid. (This option is just an info. Activating this has no effect)"
collectionitems_as_list.options.value = "0"
; Exhibit Pages
hide_exhibit_heading.type = "checkbox"
hide_exhibit_heading.options.label = "Hide heading"
hide_exhibit_heading.options.description = "Check this box if you wish to hide the heading on the exhibit page."
hide_exhibit_heading.options.value = "0"
hide_exhibit_navigation.type = "checkbox"
hide_exhibit_navigation.options.label = "Hide exhibit navigation"
hide_exhibit_navigation.options.description = "Check this box if you wish to hide the exhibit navigation on the exhibit page."
hide_exhibit_navigation.options.value = "0"
[groups]
general.options.legend = "General"
general.options.description = "These options apply to various general aspects of the theme."
general.elements[] = "show_breadcrumbs"
general.elements[] = "no_img_hover_effect"
color.options.legend = "General: Colors"
color.options.description = "Provide a hex code to set the color of different elements of the theme. (<a href="http://htmlcolorcodes.com/">Read more about html color codes here.</a> Please only use hex codes, formatted `#XXXXXX`.)"
color.elements[] = "body_bg_color"
color.elements[] = "border_color"
color.elements[] = "link_color"
head_foot.options.legend = "Header and Footer"
head_foot.options.description = "These options apply to the header and footer of the theme, including the quick search bar button in the header."
head_foot.elements[] = "logo"
head_foot.elements[] = "logo_text"
head_foot.elements[] = "logo_text_position"
head_foot.elements[] = "header_image"
head_foot.elements[] = "header_image_height"
head_foot.elements[] = "header_image_height_mobile"
head_foot.elements[] = "header_image_position"
head_foot.elements[] = "header_image_alt"
head_foot.elements[] = "header_everywhere"
head_foot.elements[] = "footer_text"
head_foot.elements[] = "display_footer_copyright"
head_foot.elements[] = "use_advanced_search"
head_foot.elements[] = "replace_quicksearch"
head_foot.elements[] = "no_quicksearch"
head_foot.elements[] = "nav_show_levels"
homepage.options.legend = "Homepage"
homepage.options.description = "These options apply to the <a href="../../">homepage</a>. Most of these options apply only if no other homepage is set in the Omeka settings (<a href="../appearance/edit-navigation" Navigation -> Select a Homepage</a>)."
homepage.elements[] = "display_featured_item"
homepage.elements[] = "display_featured_collection"
homepage.elements[] = "display_featured_exhibit"
homepage.elements[] = "homepage_text"
homepage.elements[] = "home_slider_autoplay"
homepage.elements[] = "home_slider_autoplay_speed"
homepage.elements[] = "floating_homepage"
items_browse.options.legend = "Items: Browse"
items_browse.options.description = "These options apply to the items <a href="../../items/browse/">browse page (Browse All, Browse by Tag, Browse by Collection, etc.)</a>. This is the overview of all items."
items_browse.elements[] = "browse_item_style"
items_browse.elements[] = "browse_hide_sec_nav"
items_browse.elements[] = "show_outputformats"
items_show.options.legend = "Items: Page"
items_show.options.description = "These options apply to the <a href="../../items/show/1/">item (show) page</a>. This is the item detail view of one specific item."
items_show.elements[] = "item_page_layout"
items_show.elements[] = "item_page_layout_content_ratio"
items_show.elements[] = "media_only_primary"
items_show.elements[] = "media_link_to_url"
items_show.elements[] = "media_image_size"
items_show.elements[] = "media_image_max_height"
items_show.elements[] = "other_media"
items_show.elements[] = "media_lightgallery"
items_show.elements[] = "media_lightgallery_pdf_embed_hide_toolbar"
items_show.elements[] = "media_caption"
items_show.elements[] = "hide_item_heading"
items_show.elements[] = "hide_item_metadata_title"
items_show.elements[] = "show_citation"
collection_browse.name = "Collection: Browse"
collection_browse.options.legend = "Collection: Browse"
collection_browse.options.description = "These options apply to the collection <a href="../../collections/browse/">browse pages (overview of all collections)</a>. This is the overview of all collections."
collection_browse.elements[] = "browse_collection_style"
collection_show.name = "Collection: Page"
collection_show.options.legend = "Collection: Page"
collection_show.options.description = "These options apply to the collection <a href="../../collections/show/1/">show pages (overview of one collections, showing some items)</a>. This is the collection detail view of one specific collection."
collection_show.elements[] = "collectionitems_as_list"
collection_show.elements[] = "hide_collection_heading"
collection_show.elements[] = "hide_collection_metadata_title"
background_image_group.options.legend = "Background Image"
background_image_group.options.description = "These options allow to set a background image which is shown in the background of the theme."
background_image_group.elements[] = "background_image"
background_image_group.elements[] = "background_image_position"
background_image_group.elements[] = "background_image_repeat"
background_image_group.elements[] = "background_image_size"
; background_image_group.elements[] = "background_image_opacity"
background_image_group.elements[] = "background_image_donotshowundercontent"
exhibit.options.name = "Exhibits"
exhibit.options.legend = "Exhibits"
exhibit.options.description = "These options apply to the <a href="../../admin/exhibits/">exhibit pages</a>. This includes the exhibit overview page and the individual exhibit pages created with the Exhibit Builder plugin."
exhibit.elements[] = "hide_exhibit_heading"
exhibit.elements[] = "hide_exhibit_navigation"
[plugins]
; Exclude fields from plugins, if they wish.
exclude_fields = "display_featured_item,display_featured_collection,display_featured_exhibit,homepage_text"