This commit is contained in:
Ouidade Soussi Chiadmi 2024-05-07 11:44:13 +02:00
commit f91f3aee77
20 changed files with 3138 additions and 2273 deletions

View File

@ -7,6 +7,7 @@ dependencies:
- field.field.node.ressource.field_auteurs - field.field.node.ressource.field_auteurs
- field.field.node.ressource.field_collections - field.field.node.ressource.field_collections
- field.field.node.ressource.field_date_de_parution - field.field.node.ressource.field_date_de_parution
- field.field.node.ressource.field_diaporama
- field.field.node.ressource.field_edition - field.field.node.ressource.field_edition
- field.field.node.ressource.field_evenements_lies - field.field.node.ressource.field_evenements_lies
- field.field.node.ressource.field_fichier - field.field.node.ressource.field_fichier
@ -88,6 +89,7 @@ third_party_settings:
group_media: group_media:
children: children:
- field_image - field_image
- field_diaporama
- field_videos - field_videos
- field_fichier - field_fichier
label: Media label: Media
@ -189,6 +191,14 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_diaporama:
type: image_image
weight: 131
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_edition: field_edition:
type: text_textarea type: text_textarea
weight: 128 weight: 128
@ -209,7 +219,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_fichier: field_fichier:
type: file_generic type: file_generic
weight: 132 weight: 133
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
@ -345,7 +355,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_videos: field_videos:
type: video_embed_field_textfield type: video_embed_field_textfield
weight: 131 weight: 132
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }

View File

@ -7,6 +7,7 @@ dependencies:
- field.field.node.ressource.field_auteurs - field.field.node.ressource.field_auteurs
- field.field.node.ressource.field_collections - field.field.node.ressource.field_collections
- field.field.node.ressource.field_date_de_parution - field.field.node.ressource.field_date_de_parution
- field.field.node.ressource.field_diaporama
- field.field.node.ressource.field_edition - field.field.node.ressource.field_edition
- field.field.node.ressource.field_evenements_lies - field.field.node.ressource.field_evenements_lies
- field.field.node.ressource.field_fichier - field.field.node.ressource.field_fichier
@ -73,6 +74,17 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 6 weight: 6
region: content region: content
field_diaporama:
type: image
label: hidden
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 15
region: content
field_edition: field_edition:
type: text_default type: text_default
label: above label: above

View File

@ -8,6 +8,7 @@ dependencies:
- field.field.node.ressource.field_auteurs - field.field.node.ressource.field_auteurs
- field.field.node.ressource.field_collections - field.field.node.ressource.field_collections
- field.field.node.ressource.field_date_de_parution - field.field.node.ressource.field_date_de_parution
- field.field.node.ressource.field_diaporama
- field.field.node.ressource.field_edition - field.field.node.ressource.field_edition
- field.field.node.ressource.field_evenements_lies - field.field.node.ressource.field_evenements_lies
- field.field.node.ressource.field_fichier - field.field.node.ressource.field_fichier
@ -93,6 +94,7 @@ hidden:
body: true body: true
field_collections: true field_collections: true
field_date_de_parution: true field_date_de_parution: true
field_diaporama: true
field_evenements_lies: true field_evenements_lies: true
field_fichier: true field_fichier: true
field_lien: true field_lien: true

View File

@ -8,6 +8,7 @@ dependencies:
- field.field.node.ressource.field_auteurs - field.field.node.ressource.field_auteurs
- field.field.node.ressource.field_collections - field.field.node.ressource.field_collections
- field.field.node.ressource.field_date_de_parution - field.field.node.ressource.field_date_de_parution
- field.field.node.ressource.field_diaporama
- field.field.node.ressource.field_edition - field.field.node.ressource.field_edition
- field.field.node.ressource.field_evenements_lies - field.field.node.ressource.field_evenements_lies
- field.field.node.ressource.field_fichier - field.field.node.ressource.field_fichier
@ -78,6 +79,7 @@ hidden:
body: true body: true
field_collections: true field_collections: true
field_date_de_parution: true field_date_de_parution: true
field_diaporama: true
field_edition: true field_edition: true
field_evenements_lies: true field_evenements_lies: true
field_fichier: true field_fichier: true

View File

@ -0,0 +1,48 @@
uuid: 0b2a0262-9967-4504-8d6b-e71cbb0aba06
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_diaporama
- node.type.ressource
module:
- content_translation
- image
third_party_settings:
content_translation:
translation_sync:
alt: alt
title: title
file: '0'
id: node.ressource.field_diaporama
field_name: field_diaporama
entity_type: node
bundle: ressource
label: Diaporama
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
caption_field: 0
caption_field_required: 0
field_type: image

View File

@ -1,4 +1,4 @@
uuid: c11aeedb-31ed-4ab8-9633-731a2c5bdbd6 uuid: 5b211f99-51e9-410c-b3ba-60fb1032dc49
langcode: fr langcode: fr
status: true status: true
dependencies: { } dependencies: { }
@ -9,5 +9,5 @@ configuration:
throttle: throttle:
period: null period: null
limit: null limit: null
apiKey: BfGpTmi8PmaGkWNCAwlH6qW5jILApFGb apiKey: sfGkgxwoFMjOWulz0u0lzMJrlzG3hY57
licensed: false licensed: true

View File

@ -57,7 +57,7 @@ variant_settings:
items_per_page: none items_per_page: none
exposed: { } exposed: { }
region: first region: first
weight: -2 weight: -1
uuid: 2ca2f1a3-98b4-41bf-bb67-e17fdd93f1f2 uuid: 2ca2f1a3-98b4-41bf-bb67-e17fdd93f1f2
4fc90a5b-8a2d-4f21-9718-e65b9982d59a: 4fc90a5b-8a2d-4f21-9718-e65b9982d59a:
id: 'views_block:programme_toc-block_4' id: 'views_block:programme_toc-block_4'
@ -78,7 +78,7 @@ variant_settings:
provider: views provider: views
context_mapping: { } context_mapping: { }
views_label: '' views_label: ''
items_per_page: none items_per_page: '5'
exposed: { } exposed: { }
region: top region: top
weight: -4 weight: -4
@ -102,7 +102,7 @@ variant_settings:
provider: popsu_link_block provider: popsu_link_block
context_mapping: { } context_mapping: { }
region: first region: first
weight: 1 weight: 2
uuid: 9c5741a0-e8e2-4895-88a7-c36d3825e33c uuid: 9c5741a0-e8e2-4895-88a7-c36d3825e33c
link_title: Ressources link_title: Ressources
c80f54a0-8f21-4c56-8341-eab59b009329: c80f54a0-8f21-4c56-8341-eab59b009329:
@ -142,7 +142,7 @@ variant_settings:
items_per_page: none items_per_page: none
exposed: { } exposed: { }
region: first region: first
weight: -1 weight: 0
uuid: 9f70ea8b-3a5f-4e48-97b0-2b3d5e5e7d03 uuid: 9f70ea8b-3a5f-4e48-97b0-2b3d5e5e7d03
232f18ef-a92c-451e-b917-e436b6cbc195: 232f18ef-a92c-451e-b917-e436b6cbc195:
id: 'views_block:programme_toc-block_9' id: 'views_block:programme_toc-block_9'
@ -154,7 +154,7 @@ variant_settings:
items_per_page: none items_per_page: none
exposed: { } exposed: { }
region: first region: first
weight: -3 weight: -2
uuid: 232f18ef-a92c-451e-b917-e436b6cbc195 uuid: 232f18ef-a92c-451e-b917-e436b6cbc195
b564145a-2058-4710-8204-50569d4f0bf0: b564145a-2058-4710-8204-50569d4f0bf0:
id: 'views_block:programme_toc-block_13' id: 'views_block:programme_toc-block_13'
@ -166,7 +166,7 @@ variant_settings:
items_per_page: none items_per_page: none
exposed: { } exposed: { }
region: first region: first
weight: -4 weight: -3
uuid: b564145a-2058-4710-8204-50569d4f0bf0 uuid: b564145a-2058-4710-8204-50569d4f0bf0
b84fe2f8-7c0b-4976-aa63-d8dc5ae66fc0: b84fe2f8-7c0b-4976-aa63-d8dc5ae66fc0:
id: 'views_block:programme_toc-block_16' id: 'views_block:programme_toc-block_16'
@ -182,7 +182,7 @@ variant_settings:
type: node_nid type: node_nid
value: '[node:nid]' value: '[node:nid]'
region: first region: first
weight: 0 weight: 1
uuid: b84fe2f8-7c0b-4976-aa63-d8dc5ae66fc0 uuid: b84fe2f8-7c0b-4976-aa63-d8dc5ae66fc0
532e0e26-eab4-476f-a964-fd68221d5619: 532e0e26-eab4-476f-a964-fd68221d5619:
id: prog_exode_urbain_link id: prog_exode_urbain_link
@ -191,7 +191,7 @@ variant_settings:
provider: popsu_link_block provider: popsu_link_block
context_mapping: { } context_mapping: { }
region: first region: first
weight: -6 weight: -5
uuid: 532e0e26-eab4-476f-a964-fd68221d5619 uuid: 532e0e26-eab4-476f-a964-fd68221d5619
link_title: 'Exode Urbain' link_title: 'Exode Urbain'
698f5eef-78b0-44a3-851b-3adcddfcd119: 698f5eef-78b0-44a3-851b-3adcddfcd119:
@ -201,9 +201,34 @@ variant_settings:
provider: popsu_link_block provider: popsu_link_block
context_mapping: { } context_mapping: { }
region: first region: first
weight: -5 weight: -4
uuid: 698f5eef-78b0-44a3-851b-3adcddfcd119 uuid: 698f5eef-78b0-44a3-851b-3adcddfcd119
link_title: 'Le Palmarès Palpite' link_title: 'Le Palmarès Palpite'
3be250ab-9604-4e95-b215-4b98b160f18e:
id: 'views_block:programme_toc-block_15'
label: ''
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
exposed: { }
region: first
weight: -8
uuid: 3be250ab-9604-4e95-b215-4b98b160f18e
63e18587-3199-4058-93e3-7af297464f84:
id: 'views_block:programme_toc-block_17'
label: ''
label_display: '0'
provider: views
context_mapping:
field_programme_target_id: node
views_label: ''
items_per_page: none
exposed: { }
region: first
weight: -6
uuid: 63e18587-3199-4058-93e3-7af297464f84
page_title: '' page_title: ''
layout: layout_threecol_25_50_25 layout: layout_threecol_25_50_25
layout_settings: layout_settings:

View File

@ -248,7 +248,7 @@ variant_settings:
items_per_page: none items_per_page: none
exposed: { } exposed: { }
region: first region: first
weight: -5 weight: -4
uuid: b12c9988-1636-44e6-8de3-9f1d07a0561e uuid: b12c9988-1636-44e6-8de3-9f1d07a0561e
9d776e95-a9c0-4293-a62b-1689df4570cb: 9d776e95-a9c0-4293-a62b-1689df4570cb:
id: prog_ressource_link id: prog_ressource_link
@ -257,7 +257,7 @@ variant_settings:
provider: popsu_link_block provider: popsu_link_block
context_mapping: { } context_mapping: { }
region: first region: first
weight: -4 weight: -3
uuid: 9d776e95-a9c0-4293-a62b-1689df4570cb uuid: 9d776e95-a9c0-4293-a62b-1689df4570cb
link_title: Ressources link_title: Ressources
63b90de4-b75f-46a5-b8a0-a0fe654966cb: 63b90de4-b75f-46a5-b8a0-a0fe654966cb:
@ -286,8 +286,20 @@ variant_settings:
items_per_page: none items_per_page: none
exposed: { } exposed: { }
region: first region: first
weight: -6 weight: -5
uuid: 40dfc621-4e0d-4d06-9567-1fb89f13c22b uuid: 40dfc621-4e0d-4d06-9567-1fb89f13c22b
2174709d-ebb6-44b9-a7fc-08f74f00b226:
id: 'views_block:programme_toc-block_18'
label: ''
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
exposed: { }
region: first
weight: -6
uuid: 2174709d-ebb6-44b9-a7fc-08f74f00b226
page_title: '' page_title: ''
layout: layout_threecol_25_50_25 layout: layout_threecol_25_50_25
layout_settings: layout_settings:

View File

@ -38,7 +38,7 @@ variant_settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: -3 weight: -4
uuid: cc44ae59-b6ba-47d3-9224-1d6ef82de485 uuid: cc44ae59-b6ba-47d3-9224-1d6ef82de485
68ed5c37-232a-4554-b1e6-a598cc1b01d4: 68ed5c37-232a-4554-b1e6-a598cc1b01d4:
id: 'entity_field:node:body' id: 'entity_field:node:body'
@ -70,7 +70,7 @@ variant_settings:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: -4 weight: -5
uuid: d2a161df-e7fa-4cd7-8a6c-442702667034 uuid: d2a161df-e7fa-4cd7-8a6c-442702667034
3019fd91-6735-471b-a429-005dd320f5bd: 3019fd91-6735-471b-a429-005dd320f5bd:
id: 'entity_field:node:field_collections' id: 'entity_field:node:field_collections'
@ -87,7 +87,7 @@ variant_settings:
link: false link: false
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: -1 weight: -2
uuid: 3019fd91-6735-471b-a429-005dd320f5bd uuid: 3019fd91-6735-471b-a429-005dd320f5bd
f9eaed57-bcce-43db-a937-e44f84cde262: f9eaed57-bcce-43db-a937-e44f84cde262:
id: 'entity_field:node:field_image' id: 'entity_field:node:field_image'
@ -105,7 +105,7 @@ variant_settings:
image_style: very_large image_style: very_large
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: -5 weight: -6
uuid: f9eaed57-bcce-43db-a937-e44f84cde262 uuid: f9eaed57-bcce-43db-a937-e44f84cde262
11c9521f-c1c5-4a3a-b735-b013ea51b5d7: 11c9521f-c1c5-4a3a-b735-b013ea51b5d7:
id: 'entity_field:node:field_programme' id: 'entity_field:node:field_programme'
@ -122,7 +122,7 @@ variant_settings:
link: true link: true
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: -7 weight: -8
uuid: 11c9521f-c1c5-4a3a-b735-b013ea51b5d7 uuid: 11c9521f-c1c5-4a3a-b735-b013ea51b5d7
6b899160-a218-4412-9aae-15bf077ffab8: 6b899160-a218-4412-9aae-15bf077ffab8:
id: 'entity_field:node:field_date_de_parution' id: 'entity_field:node:field_date_de_parution'
@ -143,7 +143,7 @@ variant_settings:
time_wrapper: false time_wrapper: false
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: 0 weight: -1
uuid: 6b899160-a218-4412-9aae-15bf077ffab8 uuid: 6b899160-a218-4412-9aae-15bf077ffab8
6957b522-39a6-4094-a338-4908b79bd5dd: 6957b522-39a6-4094-a338-4908b79bd5dd:
id: 'entity_field:node:field_theme' id: 'entity_field:node:field_theme'
@ -160,7 +160,7 @@ variant_settings:
link: true link: true
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: 1 weight: 0
uuid: 6957b522-39a6-4094-a338-4908b79bd5dd uuid: 6957b522-39a6-4094-a338-4908b79bd5dd
5a3cd52c-80b0-48ab-ad5b-102a0572cc10: 5a3cd52c-80b0-48ab-ad5b-102a0572cc10:
id: 'entity_field:node:field_type_de_ressource' id: 'entity_field:node:field_type_de_ressource'
@ -177,7 +177,7 @@ variant_settings:
link: false link: false
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: -6 weight: -7
uuid: 5a3cd52c-80b0-48ab-ad5b-102a0572cc10 uuid: 5a3cd52c-80b0-48ab-ad5b-102a0572cc10
99f61c86-31f2-41b7-a344-f398bbae87a5: 99f61c86-31f2-41b7-a344-f398bbae87a5:
id: 'block_content:1911abcd-dd85-403d-8e6e-8621c9f2045a' id: 'block_content:1911abcd-dd85-403d-8e6e-8621c9f2045a'
@ -226,7 +226,7 @@ variant_settings:
height: 480 height: 480
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: 2 weight: 1
uuid: c80516af-557e-426b-ba94-dc32e53016e0 uuid: c80516af-557e-426b-ba94-dc32e53016e0
31cf12fb-4adf-489d-ae14-9f4fddcac1c4: 31cf12fb-4adf-489d-ae14-9f4fddcac1c4:
id: 'entity_field:node:field_ressources_liees' id: 'entity_field:node:field_ressources_liees'
@ -298,7 +298,7 @@ variant_settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
region: second region: second
weight: -2 weight: -3
uuid: b4e55d8c-4700-45ba-9b04-f48ad1ff7f38 uuid: b4e55d8c-4700-45ba-9b04-f48ad1ff7f38
0d80d9b0-5425-4e6c-a886-4c50c9e60317: 0d80d9b0-5425-4e6c-a886-4c50c9e60317:
id: 'views_block:collection-block_1' id: 'views_block:collection-block_1'
@ -316,6 +316,26 @@ variant_settings:
region: third region: third
weight: 0 weight: 0
uuid: 0d80d9b0-5425-4e6c-a886-4c50c9e60317 uuid: 0d80d9b0-5425-4e6c-a886-4c50c9e60317
f481538f-3161-4d17-8ef7-b74bb27246dd:
id: 'entity_field:node:field_diaporama'
label: Diaporama
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: image
weight: 0
label: hidden
settings:
image_link: ''
image_style: wide
image_loading:
attribute: lazy
third_party_settings: { }
region: second
weight: 2
uuid: f481538f-3161-4d17-8ef7-b74bb27246dd
page_title: '' page_title: ''
layout: layout_threecol_25_50_25 layout: layout_threecol_25_50_25
layout_settings: layout_settings:

View File

@ -8,6 +8,9 @@ dependencies:
- field.storage.taxonomy_term.field_image - field.storage.taxonomy_term.field_image
- image.style.thumbnail - image.style.thumbnail
- taxonomy.vocabulary.collection - taxonomy.vocabulary.collection
- taxonomy.vocabulary.types_d_evenement
- taxonomy.vocabulary.types_de_document
- taxonomy.vocabulary.types_de_theme
- taxonomy.vocabulary.villes - taxonomy.vocabulary.villes
module: module:
- address - address
@ -789,8 +792,70 @@ display:
position: 1 position: 1
display_options: display_options:
title: 'Types de document' title: 'Types de document'
filters:
status:
id: status
table: taxonomy_term_field_data
field: status
entity_type: taxonomy_term
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
vid:
id: vid
table: taxonomy_term_field_data
field: vid
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
operator: in
value:
types_de_document: types_de_document
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
defaults: defaults:
title: false title: false
filters: false
filter_groups: false
display_description: '' display_description: ''
display_extenders: display_extenders:
views_ef_fieldset: { } views_ef_fieldset: { }
@ -821,8 +886,70 @@ display:
position: 1 position: 1
display_options: display_options:
title: 'Types d''évenement' title: 'Types d''évenement'
filters:
status:
id: status
table: taxonomy_term_field_data
field: status
entity_type: taxonomy_term
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
vid:
id: vid
table: taxonomy_term_field_data
field: vid
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
operator: in
value:
types_d_evenement: types_d_evenement
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
defaults: defaults:
title: false title: false
filters: false
filter_groups: false
display_description: '' display_description: ''
display_extenders: display_extenders:
views_ef_fieldset: { } views_ef_fieldset: { }
@ -853,8 +980,70 @@ display:
position: 1 position: 1
display_options: display_options:
title: 'Type de themes' title: 'Type de themes'
filters:
status:
id: status
table: taxonomy_term_field_data
field: status
entity_type: taxonomy_term
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
vid:
id: vid
table: taxonomy_term_field_data
field: vid
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
operator: in
value:
types_de_theme: types_de_theme
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
defaults: defaults:
title: false title: false
filters: false
filter_groups: false
display_description: '' display_description: ''
display_extenders: display_extenders:
views_ef_fieldset: { } views_ef_fieldset: { }

View File

@ -2253,6 +2253,61 @@ display:
level_labels: '' level_labels: ''
hierarchy_depth: 0 hierarchy_depth: 0
required_depth: 0 required_depth: 0
field_programme_target_id:
id: field_programme_target_id
table: node__field_programme
field: field_programme_target_id
relationship: none
group_type: group
admin_label: ''
plugin_id: entity_reference
operator: or
value: { }
group: 1
exposed: true
expose:
operator_id: field_programme_target_id_op
label: 'Programme Popsu'
description: ''
use_operator: false
operator: field_programme_target_id_op
operator_limit_selection: false
operator_list: { }
identifier: field_programme_target_id
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
user: '0'
editeur: '0'
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
handler: 'default:node'
widget: select
handler_settings:
target_bundles:
programme: programme
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
filter_groups: filter_groups:
operator: AND operator: AND
groups: groups:

View File

@ -272,7 +272,7 @@ display:
type: some type: some
options: options:
offset: 0 offset: 0
items_per_page: 5 items_per_page: 10
exposed_form: exposed_form:
type: basic type: basic
options: options:

File diff suppressed because it is too large Load Diff

View File

@ -136,8 +136,8 @@ display:
element_wrapper_class: '' element_wrapper_class: ''
element_default_classes: true element_default_classes: true
empty: '' empty: ''
hide_empty: false hide_empty: true
empty_zero: false empty_zero: true
hide_alter_empty: true hide_alter_empty: true
click_sort_column: target_id click_sort_column: target_id
type: entity_reference_entity_view type: entity_reference_entity_view
@ -322,7 +322,16 @@ display:
distinct: false distinct: false
replica: false replica: false
query_tags: { } query_tags: { }
relationships: { } relationships:
field_ressources_liees:
id: field_ressources_liees
table: node__field_ressources_liees
field: field_ressources_liees
relationship: none
group_type: group
admin_label: 'field_ressources_liees (allow to hide block if field ressources liees is empty)'
plugin_id: standard
required: true
header: { } header: { }
footer: footer:
area_text_custom: area_text_custom:
@ -357,6 +366,7 @@ display:
display_extenders: display_extenders:
views_ef_fieldset: { } views_ef_fieldset: { }
block_description: 'ressources third column' block_description: 'ressources third column'
block_hide_empty: true
allow: allow:
items_per_page: false items_per_page: false
offset: '0' offset: '0'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -280,12 +280,12 @@ $(function(){
//menu ouvertur sur page event et actu //menu ouvertur sur page event et actu
if($(".page-node-type-evenement").length > 0 || $(".page-node-type-actualite").length > 0){ if($(".page-node-type-evenement").length > 0 || $(".page-node-type-actualite").length > 0){
$('.views-element-container header').click(function(){ $('.views-element-container header').on('click', function(){
$(this).parent().find(".view-grouping").fadeToggle(); $(this).parent().find(".view-grouping").fadeToggle();
$(this).parent().find(".views-row").fadeToggle(); $(this).parent().find(".views-row").fadeToggle();
}); });
$('.view-grouping-header').click(function(){ $('.view-grouping-header').on('click', function(){
$(this).parent().find(".view-grouping-content").slideToggle(); $(this).parent().find(".view-grouping-content").slideToggle();
}); });
} }
@ -300,31 +300,40 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
}) })
$('.views-element-container header').click(function(){ $('.views-element-container header').on("click", function(){
//$(this).parent().find(".view-grouping").fadeToggle(); //$(this).parent().find(".view-grouping").fadeToggle();
console.log($(this).parent().find("h3")); console.log($(this).parent().find("h3"));
if($(this).parent().find("h3").length > 0){ if($(this).parent().children("h3").length > 0){
// for territoires which are grouped by regions
$(this).parent().find("h3").fadeToggle(); $(this).parent().find("h3").fadeToggle();
}else{ }else{
$(this).parent().find(".views-row").fadeToggle(); $(this).parent().find(".views-row").fadeToggle();
} }
}); });
// popsu 1
// $('')
$('#programme_toc-block_9 header').on('click', function(){
$(this).parent().find(".view-grouping").fadeToggle();
$(this).parent().find(".views-row").fadeToggle();
});
//page projet //page projet
$("#programme_toc-block_10 h3").click(function(){ $("#programme_toc-block_10 h3").on('click', function(){
// pour territoire
$(this).nextUntil("h3").fadeToggle(); $(this).nextUntil("h3").fadeToggle();
}); });
//page programme //page programme
$("#programme_toc-block_4 h3").click(function(){ // pour territoire (h3 are regions)
$("#programme_toc-block_4 h3").on('click', function(){
console.log(this); console.log(this);
$(this).nextUntil("h3").fadeToggle(); $(this).nextUntil("h3").fadeToggle();
}); });
$('.view-grouping-header').click(function(){ $('.view-grouping-header').on('click', function(){
$(this).parent().find(".view-grouping-content").slideToggle(); $(this).parent().find(".view-grouping-content").slideToggle();
}); });
@ -493,6 +502,36 @@ if($(".page-node-type-ressource").find(".ressources-video").length > 0){
$(vid).clone().insertAfter(prog); $(vid).clone().insertAfter(prog);
$(vid).remove(); $(vid).remove();
}
//spec ressources diaporama
if($(".page-node-type-ressource").find(".ressources-reportage-photographique").length > 0){
let diapo = $("#node\\:field_diaporama");
let prog = $("#node\\:field_programme");
$(diapo).clone().insertAfter(prog);
$(diapo).remove();
let elem = $(".content_container").find("#node\\:field_diaporama>div.field_diaporama");
console.log('elem', elem);
$(elem[0]).slick({
slidesToShow: 1,
slidesToScroll: 1,
centerMode: false,
centerPadding: '60px',
responsive: [
{
breakpoint: 800,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
centerMode: true,
centerPadding: '30px',
}
}]
});
} }
//ressources page projet //ressources page projet

File diff suppressed because it is too large Load Diff

View File

@ -40,13 +40,29 @@ function popsu_preprocess_html(&$variables) {
} }
} }
function popsu_preprocess_page(&$variables) { // function popsu_preprocess_page(&$variables) {
if(isset($variables['node'])){ // if(isset($variables['node'])){
// $node = $variables['node'];
// if(isset($node) && $node->hasField('field_videos') && $node->get('field_videos')->getString() != ""){
// $variables['attributes']['class'][] = 'ressources-video';
// }
// }
// }
function popsu_preprocess_page__node(&$variables) {
$node = $variables['node']; $node = $variables['node'];
if(isset($node) && $node->hasField('field_videos') && $node->get('field_videos')->getString() != ""){ if($node->getType() === "ressource"){
$variables['attributes']['class'][] = 'ressources-video'; $type_ref_entity = $node->get('field_type_de_ressource')->referencedEntities();
if(count($type_ref_entity)){
// $type = filter_var(strtolower(str_replace(" ", "-", $type_ref_entity[0]->getName())), FILTER_SANITIZE_URL);
// setlocale(LC_ALL, "en_US.utf8");
// $type = iconv('UTF-8','ASCII//TRANSLIT//IGNORE',strtolower(str_replace(" ", "-", $type_ref_entity[0]->getName())));
$trans = \Drupal::transliteration();
$type = $trans->transliterate(strtolower(str_replace(" ", "-", $type_ref_entity[0]->getName())), 'en');
$variables['attributes']['class'][] = 'ressources-' . $type;
} }
} }
} }
function popsu_preprocess_node(&$variables){ function popsu_preprocess_node(&$variables){

View File

@ -873,4 +873,14 @@
margin: 0rem 0 1rem 0; margin: 0rem 0 1rem 0;
} }
} }
.ressources-reportage-photographique{
#node\:field_image{
display: none;
}
#node\:field_type_de_ressource{
padding: 0;
}
}
} }