Forráskód Böngészése

created actu page

bach 3 éve
szülő
commit
c478e95f5a

+ 12 - 0
config/sync/page_manager.page.actualites.yml

@@ -0,0 +1,12 @@
+uuid: e72a48a9-1452-45ce-bfaa-f73e6fbad55c
+langcode: fr
+status: true
+dependencies: {  }
+id: actualites
+label: Actualités
+description: ''
+use_admin_theme: false
+path: /actualites
+access_logic: and
+access_conditions: {  }
+parameters: {  }

+ 53 - 0
config/sync/page_manager.page_variant.actualites-panels_variant-0.yml

@@ -0,0 +1,53 @@
+uuid: e5094a44-ed68-4344-8691-1e0b8d9ed463
+langcode: fr
+status: true
+dependencies:
+  config:
+    - page_manager.page.actualites
+    - views.view.actus_blocks_pages
+  module:
+    - panels
+    - views
+id: actualites-panels_variant-0
+label: Panels
+variant: panels_variant
+variant_settings:
+  blocks:
+    ac52e43e-7415-4532-9e06-bca899df4767:
+      id: 'views_block:actus_blocks_pages-block_2'
+      label: ''
+      provider: views
+      label_display: visible
+      views_label: ''
+      items_per_page: none
+      region: content
+      weight: 0
+      uuid: ac52e43e-7415-4532-9e06-bca899df4767
+      context_mapping: {  }
+    45c858a0-bbc8-48b9-a0aa-63ec7c84999a:
+      id: 'views_block:actus_blocks_pages-block_3'
+      label: ''
+      provider: views
+      label_display: visible
+      views_label: ''
+      items_per_page: none
+      region: content
+      weight: 0
+      uuid: 45c858a0-bbc8-48b9-a0aa-63ec7c84999a
+      context_mapping: {  }
+  id: panels_variant
+  uuid: 5b87b741-5a98-4fda-b5c6-e3bae20d76e4
+  label: null
+  weight: 0
+  layout: layout_onecol
+  layout_settings:
+    label: ''
+  page_title: ''
+  storage_type: page_manager
+  storage_id: actualites-panels_variant-0
+  builder: standard
+page: actualites
+weight: 0
+selection_criteria: {  }
+selection_logic: and
+static_context: {  }

+ 15 - 0
config/sync/page_manager.page_variant.home-panels_variant-0.yml

@@ -5,7 +5,10 @@ dependencies:
   config:
     - page_manager.page.home
     - views.view.actus_blocks_pages
+  content:
+    - 'block_content:link:3ee1f633-aaa7-4b4c-a42a-02206e26d3a2'
   module:
+    - block_content
     - panels
     - views
 id: home-panels_variant-0
@@ -24,6 +27,18 @@ variant_settings:
       weight: 0
       uuid: 15d7b769-d111-4662-8753-75c6a6ac7491
       context_mapping: {  }
+    1aa3934c-9f4d-4f46-b01c-646650c1f5d7:
+      id: 'block_content:3ee1f633-aaa7-4b4c-a42a-02206e26d3a2'
+      label: 'Actualité Link'
+      provider: block_content
+      label_display: '0'
+      status: true
+      info: ''
+      view_mode: full
+      region: content
+      weight: 1
+      uuid: 1aa3934c-9f4d-4f46-b01c-646650c1f5d7
+      context_mapping: {  }
   id: panels_variant
   uuid: 7ba3fd73-2cc4-40a4-b645-7788cc1439aa
   label: null

+ 263 - 3
config/sync/views.view.actus_blocks_pages.yml

@@ -5,8 +5,13 @@ dependencies:
   config:
     - core.entity_view_mode.node.teaser
     - node.type.actualite
+    - taxonomy.vocabulary.actu_type
+  content:
+    - 'taxonomy_term:actu_type:72d2b968-0581-4b4b-99d9-2e4ddfd360cc'
+    - 'taxonomy_term:actu_type:95dcbd7e-7f1f-48ad-9bb1-42022a29b18d'
   module:
     - node
+    - taxonomy
     - user
 id: actus_blocks_pages
 label: 'Actus blocks & pages'
@@ -132,6 +137,46 @@ display:
           expose:
             operator_limit_selection: false
             operator_list: {  }
+        promote:
+          id: promote
+          table: node_field_data
+          field: promote
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: '='
+          value: '1'
+          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
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
+          entity_type: node
+          entity_field: promote
+          plugin_id: boolean
       sorts:
         created:
           id: created
@@ -148,7 +193,7 @@ display:
           expose:
             label: ''
           granularity: second
-      title: 'Actus Home'
+      title: Informations
       header: {  }
       footer: {  }
       empty: {  }
@@ -166,15 +211,230 @@ display:
   block_1:
     display_plugin: block
     id: block_1
-    display_title: Block
+    display_title: 'Block Home'
     position: 1
     display_options:
-      display_extenders: {  }
+      display_extenders:
+        views_ef_fieldset: {  }
+      display_description: ''
+      title: 'Home actus'
+      defaults:
+        title: false
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - 'user.node_grants:view'
+        - user.permissions
+      tags: {  }
+  block_2:
+    display_plugin: block
+    id: block_2
+    display_title: 'Bloc Actus Events'
+    position: 2
+    display_options:
+      display_extenders:
+        views_ef_fieldset: {  }
+      filters:
+        status:
+          value: '1'
+          table: node_field_data
+          field: status
+          plugin_id: boolean
+          entity_type: node
+          entity_field: status
+          id: status
+          expose:
+            operator: ''
+            operator_limit_selection: false
+            operator_list: {  }
+          group: 1
+        type:
+          id: type
+          table: node_field_data
+          field: type
+          value:
+            actualite: actualite
+          entity_type: node
+          entity_field: type
+          plugin_id: bundle
+          expose:
+            operator_limit_selection: false
+            operator_list: {  }
+        field_actu_type_target_id:
+          id: field_actu_type_target_id
+          table: node__field_actu_type
+          field: field_actu_type_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: or
+          value:
+            2: 2
+          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
+          type: select
+          limit: true
+          vid: actu_type
+          hierarchy: true
+          error_message: true
+          parent: 0
+          level_labels: ''
+          force_deepest: false
+          save_lineage: false
+          hierarchy_depth: 0
+          required_depth: 0
+          plugin_id: taxonomy_index_tid
+      defaults:
+        filters: false
+        filter_groups: false
+        title: false
+      filter_groups:
+        operator: AND
+        groups:
+          1: AND
+      display_description: ''
+      title: Évènements
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - user
+        - 'user.node_grants:view'
+        - user.permissions
+      tags: {  }
+  block_3:
+    display_plugin: block
+    id: block_3
+    display_title: 'Bloc Actus infos'
+    position: 2
+    display_options:
+      display_extenders:
+        views_ef_fieldset: {  }
+      filters:
+        status:
+          value: '1'
+          table: node_field_data
+          field: status
+          plugin_id: boolean
+          entity_type: node
+          entity_field: status
+          id: status
+          expose:
+            operator: ''
+            operator_limit_selection: false
+            operator_list: {  }
+          group: 1
+        type:
+          id: type
+          table: node_field_data
+          field: type
+          value:
+            actualite: actualite
+          entity_type: node
+          entity_field: type
+          plugin_id: bundle
+          expose:
+            operator_limit_selection: false
+            operator_list: {  }
+        field_actu_type_target_id:
+          id: field_actu_type_target_id
+          table: node__field_actu_type
+          field: field_actu_type_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: or
+          value:
+            1: 1
+          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
+          type: select
+          limit: true
+          vid: actu_type
+          hierarchy: true
+          error_message: true
+          parent: 0
+          level_labels: ''
+          force_deepest: false
+          save_lineage: false
+          hierarchy_depth: 0
+          required_depth: 0
+          plugin_id: taxonomy_index_tid
+      defaults:
+        filters: false
+        filter_groups: false
+        title: false
+      filter_groups:
+        operator: AND
+        groups:
+          1: AND
+      display_description: ''
+      title: Informations
     cache_metadata:
       max-age: -1
       contexts:
         - 'languages:language_content'
         - 'languages:language_interface'
+        - user
         - 'user.node_grants:view'
         - user.permissions
       tags: {  }