Skip to content

Commit

Permalink
Merge pull request #35 from dof-dss/niaomi_footer_and_homepage_theme
Browse files Browse the repository at this point in the history
Niaomi footer and homepage theme
  • Loading branch information
KMDOFNI authored Aug 23, 2024
2 parents 4a7a56b + b862a21 commit a7fb06d
Show file tree
Hide file tree
Showing 17 changed files with 378 additions and 228 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
id: exposedformnews_searchnews_search_page
theme: niaomi_theme
region: search_facets
weight: -6
weight: -7
provider: null
plugin: 'views_exposed_filter_block:news_search-news_search_page'
settings:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
uuid: 275a0596-a7b1-4c6d-bf4e-95896aa2976d
langcode: en
status: true
dependencies:
config:
- views.view.publications_search
module:
- system
- views
theme:
- niaomi_theme
id: exposedformpublications_searchpublication_search_page
theme: niaomi_theme
region: search_facets
weight: -8
provider: null
plugin: 'views_exposed_filter_block:publications_search-publication_search_page'
settings:
id: 'views_exposed_filter_block:publications_search-publication_search_page'
label: ''
label_display: '0'
provider: views
views_label: ''
visibility:
request_path:
id: request_path
negate: false
pages: "/publications\r\n/publications/date/*\r\n/publications/type/*"
2 changes: 1 addition & 1 deletion project/config/niaomi/config/block.block.news_date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
id: news_date
theme: niaomi_theme
region: search_facets
weight: -4
weight: -5
provider: null
plugin: 'facet_block:publication_date'
settings:
Expand Down
2 changes: 1 addition & 1 deletion project/config/niaomi/config/block.block.news_type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
id: news_type
theme: niaomi_theme
region: search_facets
weight: -5
weight: -6
provider: null
plugin: 'facet_block:news_type'
settings:
Expand Down
29 changes: 29 additions & 0 deletions project/config/niaomi/config/block.block.niaomi_theme_date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: b7d3dc17-5d8d-40e2-b2c2-bb1749fbe773
langcode: en
status: true
dependencies:
config:
- facets.facet.date
module:
- facets
- system
theme:
- niaomi_theme
id: niaomi_theme_date
theme: niaomi_theme
region: search_facets
weight: -3
provider: null
plugin: 'facet_block:date'
settings:
id: 'facet_block:date'
label: Date
label_display: visible
provider: facets
context_mapping: { }
block_id: niaomi_theme_date
visibility:
request_path:
id: request_path
negate: false
pages: "/publications\r\n/publications/date/*\r\n/publications/type/*"
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: d004d84c-7229-4d49-8304-095e26189e3e
langcode: en
status: true
dependencies:
content:
- 'block_content:basic_block:32e1dda8-17d6-467b-9074-52e72524b72b'
module:
- block_content
theme:
- niaomi_theme
id: niaomi_theme_footertext
theme: niaomi_theme
region: footer
weight: 0
provider: null
plugin: 'block_content:32e1dda8-17d6-467b-9074-52e72524b72b'
settings:
id: 'block_content:32e1dda8-17d6-467b-9074-52e72524b72b'
label: 'Footer text'
label_display: '0'
provider: block_content
status: true
info: ''
view_mode: full
visibility: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: c0a1bd4d-46a3-4633-b34f-9f0ba4cd8999
langcode: en
status: true
dependencies:
config:
- facets.facet.publication_type
module:
- facets
- system
theme:
- niaomi_theme
id: niaomi_theme_publicationtype
theme: niaomi_theme
region: search_facets
weight: -4
provider: null
plugin: 'facet_block:publication_type'
settings:
id: 'facet_block:publication_type'
label: Type
label_display: visible
provider: facets
context_mapping: { }
block_id: niaomi_theme_publicationtype
visibility:
request_path:
id: request_path
negate: false
pages: "/publications\r\n/publications/date/*\r\n/publications/type/*"
82 changes: 82 additions & 0 deletions project/config/niaomi/config/facets.facet.date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
uuid: 1d0ecd24-5a51-443d-bf48-08edbb3760e1
langcode: en
status: true
dependencies:
config:
- search_api.index.publications
- views.view.publications_search
module:
- search_api
id: date
name: 'Publications date'
weight: 0
min_count: 1
missing: false
missing_label: others
url_alias: date
facet_source_id: 'search_api:views_page__publications_search__publication_search_page'
field_identifier: field_publication_date
query_operator: and
hard_limit: 0
exclude: false
use_hierarchy: false
keep_hierarchy_parents_active: false
hierarchy:
type: taxonomy
config: { }
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
widget:
type: links
config:
show_numbers: true
soft_limit: 20
show_reset_link: false
reset_text: 'Show all'
hide_reset_when_no_selection: false
soft_limit_settings:
show_less_label: 'Show fewer'
show_more_label: 'Show more'
empty_behavior:
behavior: none
only_visible_when_facet_source_is_visible: true
show_only_one_result: false
show_title: false
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: 20
settings:
sort: ASC
date_facet_drilldown:
processor_id: date_facet_drilldown
weights:
build: 1
settings: { }
date_item:
processor_id: date_item
weights:
build: 35
settings:
date_display: actual_date
granularity: 6
date_format: ''
hierarchy: false
hierarchy_processor:
processor_id: hierarchy_processor
weights:
build: 100
settings: { }
raw_value_widget_order:
processor_id: raw_value_widget_order
weights:
sort: 50
settings:
sort: DESC
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
73 changes: 73 additions & 0 deletions project/config/niaomi/config/facets.facet.publication_type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
uuid: ba2114a9-8be5-46f3-b9ea-b561c2489968
langcode: en
status: true
dependencies:
config:
- search_api.index.publications
- views.view.publications_search
module:
- search_api
id: publication_type
name: 'Publication type'
weight: -1
min_count: 1
missing: false
missing_label: others
url_alias: type
facet_source_id: 'search_api:views_page__publications_search__publication_search_page'
field_identifier: field_publication_type
query_operator: and
hard_limit: 0
exclude: false
use_hierarchy: false
keep_hierarchy_parents_active: false
hierarchy:
type: taxonomy
config: { }
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
widget:
type: links
config:
show_numbers: true
soft_limit: 20
show_reset_link: false
reset_text: 'Show all'
hide_reset_when_no_selection: false
soft_limit_settings:
show_less_label: 'Show fewer'
show_more_label: 'Show more'
empty_behavior:
behavior: none
only_visible_when_facet_source_is_visible: true
show_only_one_result: false
show_title: false
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: 20
settings:
sort: ASC
hierarchy_processor:
processor_id: hierarchy_processor
weights:
build: 100
settings: { }
raw_value_widget_order:
processor_id: raw_value_widget_order
weights:
sort: 50
settings:
sort: DESC
translate_entity:
processor_id: translate_entity
weights:
build: 5
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
uuid: 24872c7d-2ca9-47bb-acbf-c181dcc1c40f
langcode: en
status: true
dependencies:
config:
- search_api.index.publications
- views.view.publications_search
module:
- search_api
id: publications_summary
name: 'Publications summary'
facet_source_id: 'search_api:views_page__publications_search__publication_search_page'
processor_configs:
hide_when_not_rendered:
processor_id: hide_when_not_rendered
weights:
build: '45'
settings: { }
facets:
date:
checked: true
label: 'Publication date'
separator: ', '
show_count: false
weight: 0
publication_type:
checked: true
label: 'Publication type'
separator: ', '
show_count: false
weight: 0
Loading

0 comments on commit a7fb06d

Please sign in to comment.