Skip to content

Commit

Permalink
Create calendar view for newspapers
Browse files Browse the repository at this point in the history
  • Loading branch information
amym-li committed Jun 7, 2023
1 parent cb68251 commit 01741d7
Show file tree
Hide file tree
Showing 54 changed files with 3,586 additions and 22 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"drupal/field_permissions": "^1",
"drupal/field_report": "^2.1",
"drupal/flysystem": "^2.0@alpha",
"drupal/fullcalendar_solr": "^1.0@beta",
"drupal/hal": "^1.0||^2.0",
"drupal/matomo": "^1.19",
"drupal/pdf": "^1.1",
Expand Down
61 changes: 59 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions config/sync/block.block.calendarviewadvancedsearchfordayview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
uuid: 3b330035-2acb-46a4-a6ed-2efbc90faaba
langcode: en
status: true
dependencies:
module:
- advanced_search
- context
- islandora
theme:
- olivero
id: calendarviewadvancedsearchfordayview
theme: olivero
region: sidebar
weight: -21
provider: null
plugin: 'advanced_search_block:calendar_view__page_2'
settings:
id: 'advanced_search_block:calendar_view__page_2'
label: 'Search Collection: Day'
label_display: visible
provider: advanced_search
fields: { }
context_filter: field_member_of
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
view_inclusion:
id: view_inclusion
negate: false
view_inclusion:
view-calendar_view-page_2: view-calendar_view-page_2
context_all:
id: context_all
negate: null
values: ''
context:
id: context
negate: null
values: ''
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
53 changes: 53 additions & 0 deletions config/sync/block.block.calendarviewadvancedsearchforyearview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
uuid: e6da1c41-4573-4a91-aeb9-bcc070fe55cc
langcode: en
status: true
dependencies:
module:
- advanced_search
- context
- islandora
theme:
- olivero
id: calendarviewadvancedsearchforyearview
theme: olivero
region: sidebar
weight: -22
provider: null
plugin: 'advanced_search_block:calendar_view__page_1'
settings:
id: 'advanced_search_block:calendar_view__page_1'
label: 'Search Collection: Year'
label_display: visible
provider: advanced_search
fields: { }
context_filter: field_member_of
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
view_inclusion:
id: view_inclusion
negate: false
view_inclusion:
view-calendar_view-page_1: view-calendar_view-page_1
context_all:
id: context_all
negate: null
values: ''
context:
id: context
negate: null
values: ''
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
uuid: 026bac1a-10e8-4c79-a6c3-21830c178b49
langcode: en
status: true
dependencies:
module:
- advanced_search
- context
- islandora
theme:
- olivero
id: calendarviewsearchresultspagerfordayview
theme: olivero
region: content
weight: -23
provider: null
plugin: 'advanced_search_result_pager:calendar_view__page_2'
settings:
id: 'advanced_search_result_pager:calendar_view__page_2'
label: 'Calendar View: Search Results Pager for Day View'
label_display: '0'
provider: advanced_search
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
view_inclusion:
id: view_inclusion
negate: false
view_inclusion:
view-calendar_view-page_2: view-calendar_view-page_2
context_all:
id: context_all
negate: null
values: ''
context:
id: context
negate: null
values: ''
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
2 changes: 1 addition & 1 deletion config/sync/block.block.creatorsandcontributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ _core:
id: creatorsandcontributors
theme: olivero
region: sidebar
weight: -10
weight: -14
provider: null
plugin: 'facet_block:creators_and_contributors'
settings:
Expand Down
2 changes: 1 addition & 1 deletion config/sync/block.block.creatorsandcontributors_swc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
id: creatorsandcontributors_swc
theme: olivero
region: sidebar
weight: -9
weight: -13
provider: null
plugin: 'facet_block:creators_and_contributors_swc'
settings:
Expand Down
55 changes: 55 additions & 0 deletions config/sync/block.block.creatorsandcontributorscd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
uuid: d400852a-a661-449c-9342-21da6e86fe22
langcode: en
status: true
dependencies:
config:
- facets.facet.creators_and_contributors_cd
module:
- context
- facets
- islandora
theme:
- olivero
id: creatorsandcontributorscd
theme: olivero
region: sidebar
weight: -11
provider: null
plugin: 'facet_block:creators_and_contributors_cd'
settings:
id: 'facet_block:creators_and_contributors_cd'
label: 'Creators and Contributors'
label_display: visible
provider: facets
context_mapping: { }
block_id: creatorsandcontributorscd
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
view_inclusion:
id: view_inclusion
negate: false
view_inclusion:
view-calendar_view-page_2: view-calendar_view-page_2
context_all:
id: context_all
negate: null
values: ''
context:
id: context
negate: null
values: ''
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
55 changes: 55 additions & 0 deletions config/sync/block.block.creatorsandcontributorscy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
uuid: 5e3fff58-f30b-4425-85b2-77a791333158
langcode: en
status: true
dependencies:
config:
- facets.facet.creators_and_contributors_cy
module:
- context
- facets
- islandora
theme:
- olivero
id: creatorsandcontributorscy
theme: olivero
region: sidebar
weight: -12
provider: null
plugin: 'facet_block:creators_and_contributors_cy'
settings:
id: 'facet_block:creators_and_contributors_cy'
label: 'Creators and Contributors'
label_display: visible
provider: facets
context_mapping: { }
block_id: creatorsandcontributorscy
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
view_inclusion:
id: view_inclusion
negate: false
view_inclusion:
view-calendar_view-page_1: view-calendar_view-page_1
context_all:
id: context_all
negate: null
values: ''
context:
id: context
negate: null
values: ''
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
2 changes: 1 addition & 1 deletion config/sync/block.block.memberof.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
id: memberof
theme: olivero
region: sidebar
weight: -12
weight: -16
provider: null
plugin: 'facet_block:member_of'
settings:
Expand Down
2 changes: 1 addition & 1 deletion config/sync/block.block.memberofswc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
id: memberofswc
theme: olivero
region: sidebar
weight: -11
weight: -15
provider: null
plugin: 'facet_block:member_of_swc'
settings:
Expand Down
Loading

0 comments on commit 01741d7

Please sign in to comment.