From a81e3a06ea3b17a28f84d9305b152dac53512c3b Mon Sep 17 00:00:00 2001 From: arturu Date: Sun, 18 Feb 2024 22:47:47 +0100 Subject: [PATCH] release(1.2.3): add block correlati persona --- ...k__correlati_persona_notizie_ed_eventi.yml | 32 + .../install/views.view.correlati_notizia.yml | 2 +- .../install/views.view.correlati_persona.yml | 1155 +++++++++++++++++ 3 files changed, 1188 insertions(+), 1 deletion(-) create mode 100644 config/install/block.block.skenografia_views_block__correlati_persona_notizie_ed_eventi.yml create mode 100644 config/install/views.view.correlati_persona.yml diff --git a/config/install/block.block.skenografia_views_block__correlati_persona_notizie_ed_eventi.yml b/config/install/block.block.skenografia_views_block__correlati_persona_notizie_ed_eventi.yml new file mode 100644 index 0000000..e1e988b --- /dev/null +++ b/config/install/block.block.skenografia_views_block__correlati_persona_notizie_ed_eventi.yml @@ -0,0 +1,32 @@ +langcode: it +status: true +dependencies: + config: + - views.view.correlati_persona + module: + - node + - views + theme: + - skenografia +id: skenografia_views_block__correlati_persona_notizie_ed_eventi +theme: skenografia +region: after_content_first +weight: 0 +provider: null +plugin: 'views_block:correlati_persona-notizie_ed_eventi' +settings: + id: 'views_block:correlati_persona-notizie_ed_eventi' + label: '' + label_display: visible + provider: views + context_mapping: { } + views_label: '' + items_per_page: none +visibility: + 'entity_bundle:node': + id: 'entity_bundle:node' + negate: false + context_mapping: + node: '@node.node_route_context:node' + bundles: + persona: persona diff --git a/config/install/views.view.correlati_notizia.yml b/config/install/views.view.correlati_notizia.yml index 22397b3..67f6c04 100644 --- a/config/install/views.view.correlati_notizia.yml +++ b/config/install/views.view.correlati_notizia.yml @@ -13,7 +13,7 @@ dependencies: id: correlati_notizia label: 'Correlati Notizia' module: views -description: '' +description: 'Visualizza i contenuti correlati con il Content Type Notizia' tag: '' base_table: node_field_data base_field: nid diff --git a/config/install/views.view.correlati_persona.yml b/config/install/views.view.correlati_persona.yml new file mode 100644 index 0000000..061aead --- /dev/null +++ b/config/install/views.view.correlati_persona.yml @@ -0,0 +1,1155 @@ +langcode: it +status: true +dependencies: + config: + - core.entity_view_mode.node.card + - core.entity_view_mode.node.luoghi + - core.entity_view_mode.node.teaser + - node.type.article + - node.type.evento + - node.type.progetto + - node.type.scheda_didattica + - node.type.servizio + - node.type.struttura_organizzativa + - taxonomy.vocabulary.tipologia_strutture + content: + - 'taxonomy_term:tipologia_strutture:4603bfcf-ee6e-4130-9357-b2c68b5a0baf' + - 'taxonomy_term:tipologia_strutture:6ba8da9d-9709-4c44-81c1-ab944b050a50' + - 'taxonomy_term:tipologia_strutture:c289aefc-9b85-40b0-92b2-ac975a32624e' + module: + - bootstrap_italia_views_carousel + - node + - taxonomy + - user +id: correlati_persona +label: 'Correlati Persona' +module: views +description: 'Visualizza i contenuti correlati con il Content Type Persona' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: 'Dove lavora' + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + pager: + type: mini + options: + offset: 0 + items_per_page: 6 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Precedente' + expose: + items_per_page: false + items_per_page_label: 'Voci per pagina' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Tutto -' + offset: false + offset_label: Scostamento + exposed_form: + type: basic + options: + submit_button: Applica + reset_button: false + reset_button_label: Ripristina + exposed_sorts_label: 'Ordina per' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Disc + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + empty: { } + sorts: + created: + id: created + table: node_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: created + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second + arguments: + field_persone_target_id: + id: field_persone_target_id + table: node__field_persone + field: field_persone_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + struttura_organizzativa: struttura_organizzativa + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + field_tipologia_struttura_target_id: + id: field_tipologia_struttura_target_id + table: node__field_tipologia_struttura + field: field_tipologia_struttura_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: + 1305: 1305 + 1306: 1306 + 1308: 1308 + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: tipologia_strutture + type: select + hierarchy: false + limit: true + error_message: true + style: + type: default + row: + type: 'entity:node' + options: + relationship: none + view_mode: luoghi + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: true + replica: false + query_tags: { } + relationships: { } + css_class: mb-5 + use_ajax: true + group_by: false + header: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: false + content: + value: '

Dove lavora

' + format: bootstrap_italia_2 + tokenize: false + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + dove_lavora: + id: dove_lavora + display_title: Luoghi + display_plugin: block + position: 1 + display_options: + display_description: 'Attraverso il campo field_persone e field_persona_responsabile viene estratto field_sede visualizzato come luogo' + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + notizie_ed_eventi: + id: notizie_ed_eventi + display_title: 'Notizie ed eventi' + display_plugin: block + position: 6 + display_options: + title: 'Notizie ed Eventi' + arguments: + field_persona_responsabile_target_id: + id: field_persona_responsabile_target_id + table: node__field_persona_responsabile + field: field_persona_responsabile_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + field_persone_target_id: + id: field_persone_target_id + table: node__field_persone + field: field_persone_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + evento: evento + article: article + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: bootstrap_italia_views_carousel_style + options: + uses_fields: false + bi_carousel_settings: + carousel_col_type: it-carousel-landscape-abstract-three-cols + slide_spacing: slide_track_padding + carousel_image_type: '' + row: + type: 'entity:node' + options: + relationship: none + view_mode: card + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: true + replica: false + query_tags: { } + contextual_filters_or: 1 + defaults: + query: false + title: false + style: false + row: false + arguments: false + filters: false + filter_groups: false + header: false + display_description: 'Visualizza i contenuti correllati di tipo Notizia ed Evento.' + header: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + progetti: + id: progetti + display_title: Progetti + display_plugin: block + position: 1 + display_options: + title: 'Schede didattiche' + pager: + type: mini + options: + offset: 0 + items_per_page: 2 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Precedente' + expose: + items_per_page: false + items_per_page_label: 'Voci per pagina' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Tutto -' + offset: false + offset_label: Scostamento + arguments: + field_persona_responsabile_target_id: + id: field_persona_responsabile_target_id + table: node__field_persona_responsabile + field: field_persona_responsabile_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + progetto: progetto + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: default + options: { } + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + defaults: + title: false + pager: false + style: false + row: false + arguments: false + filters: false + filter_groups: false + header: false + display_description: 'Attraverso il campo field_persona_responsabile viene visualizzata il relativo Progetto.' + header: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: false + content: + value: '

Progetti

' + format: bootstrap_italia_2 + tokenize: false + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + schede_didattiche: + id: schede_didattiche + display_title: 'Schede didattiche' + display_plugin: block + position: 1 + display_options: + title: 'Schede didattiche' + pager: + type: mini + options: + offset: 0 + items_per_page: 2 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Precedente' + expose: + items_per_page: false + items_per_page_label: 'Voci per pagina' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Tutto -' + offset: false + offset_label: Scostamento + arguments: + field_persona_responsabile_target_id: + id: field_persona_responsabile_target_id + table: node__field_persona_responsabile + field: field_persona_responsabile_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + scheda_didattica: scheda_didattica + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: default + options: { } + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + defaults: + title: false + pager: false + style: false + row: false + arguments: false + filters: false + filter_groups: false + header: false + display_description: 'Attraverso il campo field_persona_responsabile viene visualizzata la relativa scheda didattica.' + header: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: false + content: + value: '

Schede didattiche

' + format: bootstrap_italia_2 + tokenize: false + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + servizi_di_cui_e_responsabile: + id: servizi_di_cui_e_responsabile + display_title: 'Servizi di cui è responsabile' + display_plugin: block + position: 1 + display_options: + title: 'Servizi di cui è responsabile' + pager: + type: mini + options: + offset: 0 + items_per_page: 2 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Precedente' + expose: + items_per_page: false + items_per_page_label: 'Voci per pagina' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Tutto -' + offset: false + offset_label: Scostamento + arguments: + field_persona_responsabile_target_id: + id: field_persona_responsabile_target_id + table: node__field_persona_responsabile + field: field_persona_responsabile_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + servizio: servizio + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: default + options: { } + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + defaults: + title: false + pager: false + style: false + row: false + arguments: false + filters: false + filter_groups: false + header: false + display_description: 'Attraverso il campo field_persona_responsabile viene visualizzata il relativo servizio.' + header: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: false + content: + value: '

Servizi di cui è responsabile

' + format: bootstrap_italia_2 + tokenize: false + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + strutture_di_cui_e_responsabile: + id: strutture_di_cui_e_responsabile + display_title: 'Strutture di cui è reponsabile' + display_plugin: block + position: 1 + display_options: + title: 'Strutture di cui la persona è responsabile' + pager: + type: mini + options: + offset: 0 + items_per_page: 2 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Precedente' + expose: + items_per_page: false + items_per_page_label: 'Voci per pagina' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Tutto -' + offset: false + offset_label: Scostamento + arguments: + field_persona_responsabile_target_id: + id: field_persona_responsabile_target_id + table: node__field_persona_responsabile + field: field_persona_responsabile_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: numeric + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + struttura_organizzativa: struttura_organizzativa + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: default + options: { } + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + defaults: + title: false + pager: false + style: false + row: false + arguments: false + filters: false + filter_groups: false + header: false + display_description: 'Attraverso il campo field_persona_responsabile viene visualizzata la relativa struttra.' + header: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: false + content: + value: '

Strutture di cui è responsabile

' + format: bootstrap_italia_2 + tokenize: false + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { }