forked from dof-dss/unity_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from dof-dss/pps-views
Pps views
- Loading branch information
Showing
26 changed files
with
1,785 additions
and
34 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
project/config/pps/config/block.block.exposedformnews_searchnews_search_page.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
uuid: 7df1dd36-c9ef-4ed5-90af-dffd44654c21 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- views.view.news_search | ||
module: | ||
- system | ||
- views | ||
theme: | ||
- pps_theme | ||
id: exposedformnews_searchnews_search_page | ||
theme: pps_theme | ||
region: search_facets | ||
weight: -13 | ||
provider: null | ||
plugin: 'views_exposed_filter_block:news_search-news_search_page' | ||
settings: | ||
id: 'views_exposed_filter_block:news_search-news_search_page' | ||
label: '' | ||
label_display: '0' | ||
provider: views | ||
views_label: '' | ||
visibility: | ||
request_path: | ||
id: request_path | ||
negate: false | ||
context_mapping: { } | ||
pages: "/news\r\n/news/date/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
project/config/pps/config/block.block.pps_theme_views_block__news_latest_news_2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
uuid: a710d69d-b77a-435e-9701-580bee796dcc | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- views.view.news | ||
module: | ||
- node | ||
- views | ||
theme: | ||
- pps_theme | ||
id: pps_theme_views_block__news_latest_news_2 | ||
theme: pps_theme | ||
region: sidebar_second | ||
weight: 0 | ||
provider: null | ||
plugin: 'views_block:news-latest_news' | ||
settings: | ||
id: 'views_block:news-latest_news' | ||
label: 'Latest news' | ||
label_display: visible | ||
provider: views | ||
context_mapping: { } | ||
views_label: 'Latest news' | ||
items_per_page: none | ||
visibility: | ||
'entity_bundle:node': | ||
id: 'entity_bundle:node' | ||
negate: false | ||
context_mapping: | ||
node: '@node.node_route_context:node' | ||
bundles: | ||
news: news |
24 changes: 24 additions & 0 deletions
24
project/config/pps/config/block.block.pps_theme_views_block__news_latest_news_home.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
uuid: 110c8ee8-420a-4a2f-a4a1-3177de0a522d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- views.view.news | ||
module: | ||
- views | ||
theme: | ||
- pps_theme | ||
id: pps_theme_views_block__news_latest_news_home | ||
theme: pps_theme | ||
region: top_first | ||
weight: 0 | ||
provider: null | ||
plugin: 'views_block:news-latest_news_home' | ||
settings: | ||
id: 'views_block:news-latest_news_home' | ||
label: News | ||
label_display: visible | ||
provider: views | ||
views_label: News | ||
items_per_page: none | ||
visibility: { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
uuid: 25454e1f-8b7d-48e9-a0c6-ad4f28eb7aed | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- facets.facet.publication_date | ||
module: | ||
- facets | ||
- system | ||
theme: | ||
- pps_theme | ||
id: publicationdate | ||
theme: pps_theme | ||
region: search_facets | ||
weight: -11 | ||
provider: null | ||
plugin: 'facet_block:publication_date' | ||
settings: | ||
id: 'facet_block:publication_date' | ||
label: Date | ||
label_display: visible | ||
provider: facets | ||
block_id: publicationdate | ||
visibility: | ||
request_path: | ||
id: request_path | ||
negate: false | ||
context_mapping: { } | ||
pages: "/news\r\n/news/date/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,3 +51,4 @@ hidden: | |
field_teaser: true | ||
langcode: true | ||
links: true | ||
search_api_excerpt: true |
45 changes: 45 additions & 0 deletions
45
project/config/pps/config/core.entity_view_display.node.news.search_index.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
uuid: 1864bce6-e52b-4415-9620-49620baf418c | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.node.search_index | ||
- field.field.node.news.body | ||
- field.field.node.news.field_meta_tags | ||
- field.field.node.news.field_news_type | ||
- field.field.node.news.field_photo | ||
- field.field.node.news.field_published_date | ||
- field.field.node.news.field_teaser | ||
- node.type.news | ||
module: | ||
- datetime | ||
- layout_builder | ||
- user | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
id: node.news.search_index | ||
targetEntityType: node | ||
bundle: news | ||
mode: search_index | ||
content: | ||
field_published_date: | ||
type: datetime_default | ||
label: hidden | ||
settings: | ||
timezone_override: '' | ||
format_type: unity_format | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
body: true | ||
content_moderation_control: true | ||
field_meta_tags: true | ||
field_news_type: true | ||
field_photo: true | ||
field_teaser: true | ||
langcode: true | ||
links: true | ||
search_api_excerpt: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
project/config/pps/config/facets.facet.publication_date.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
uuid: 550cf797-9e91-41f0-9f06-d26a3e539c60 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- search_api.index.news | ||
- views.view.news_search | ||
module: | ||
- facets_pretty_paths | ||
- search_api | ||
third_party_settings: | ||
facets_pretty_paths: | ||
coder: default_coder | ||
id: publication_date | ||
name: Date | ||
weight: 0 | ||
min_count: 1 | ||
missing: false | ||
missing_label: others | ||
url_alias: date | ||
facet_source_id: 'search_api:views_page__news_search__news_search_page' | ||
field_identifier: field_published_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: '' | ||
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: { } |
12 changes: 12 additions & 0 deletions
12
.../pps/config/facets.facet_source.search_api__views_page__news_search__news_search_page.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
uuid: 501a824f-9524-40cf-9898-49e85bf41e54 | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: search_api__views_page__news_search__news_search_page | ||
name: 'search_api:views_page__news_search__news_search_page' | ||
filter_key: '' | ||
url_processor: facets_pretty_paths | ||
breadcrumb: | ||
active: true | ||
before: false | ||
group: false |
Oops, something went wrong.