Quellcode durchsuchen

created page/panel onepage home

Bachir Soussi Chiadmi vor 7 Jahren
Ursprung
Commit
b9ce53c6a2

+ 178 - 56
sites/all/modules/features/clameurs/clameurs.features.field_base.inc

@@ -10,7 +10,116 @@
 function clameurs_field_default_field_bases() {
   $field_bases = array();
 
-  // Exported field_base: 'field_description'
+  // Exported field_base: 'cer_bidirectional'.
+  $field_bases['cer_bidirectional'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'cer_bidirectional',
+    'indexes' => array(
+      'value' => array(
+        0 => 'value',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'list',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => 0,
+        1 => 1,
+      ),
+      'allowed_values_function' => '',
+      'entity_translation_sync' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'list_boolean',
+  );
+
+  // Exported field_base: 'cer_enabled'.
+  $field_bases['cer_enabled'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'cer_enabled',
+    'indexes' => array(
+      'value' => array(
+        0 => 'value',
+      ),
+    ),
+    'locked' => 1,
+    'module' => 'list',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => 0,
+        1 => 1,
+      ),
+      'allowed_values_function' => '',
+      'entity_translation_sync' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'list_boolean',
+  );
+
+  // Exported field_base: 'cer_left'.
+  $field_bases['cer_left'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'cer_left',
+    'indexes' => array(),
+    'locked' => 1,
+    'module' => 'field_object',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'field_object',
+  );
+
+  // Exported field_base: 'cer_right'.
+  $field_bases['cer_right'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'cer_right',
+    'indexes' => array(),
+    'locked' => 1,
+    'module' => 'field_object',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'field_object',
+  );
+
+  // Exported field_base: 'cer_weight'.
+  $field_bases['cer_weight'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'cer_weight',
+    'indexes' => array(
+      'value' => array(
+        0 => 'value',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'list',
+    'settings' => array(
+      'allowed_values' => array(),
+      'allowed_values_function' => 'cer_weight_options',
+      'entity_translation_sync' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'list_integer',
+  );
+
+  // Exported field_base: 'field_description'.
   $field_bases['field_description'] = array(
     'active' => 1,
     'cardinality' => 1,
@@ -20,14 +129,6 @@ function clameurs_field_default_field_bases() {
     'field_permissions' => array(
       'type' => 0,
     ),
-    'foreign keys' => array(
-      'format' => array(
-        'columns' => array(
-          'format' => 'format',
-        ),
-        'table' => 'filter_format',
-      ),
-    ),
     'indexes' => array(
       'format' => array(
         0 => 'format',
@@ -42,7 +143,7 @@ function clameurs_field_default_field_bases() {
     'type' => 'text_long',
   );
 
-  // Exported field_base: 'field_doc'
+  // Exported field_base: 'field_doc'.
   $field_bases['field_doc'] = array(
     'active' => 1,
     'cardinality' => 1,
@@ -52,14 +153,6 @@ function clameurs_field_default_field_bases() {
     'field_permissions' => array(
       'type' => 0,
     ),
-    'foreign keys' => array(
-      'taxonomy_term_data' => array(
-        'columns' => array(
-          'target_id' => 'tid',
-        ),
-        'table' => 'taxonomy_term_data',
-      ),
-    ),
     'indexes' => array(
       'target_id' => array(
         0 => 'target_id',
@@ -88,23 +181,54 @@ function clameurs_field_default_field_bases() {
     'type' => 'entityreference',
   );
 
-  // Exported field_base: 'field_ecouter'
-  $field_bases['field_ecouter'] = array(
+  // Exported field_base: 'field_eclairages'.
+  $field_bases['field_eclairages'] = array(
     'active' => 1,
-    'cardinality' => 1,
+    'cardinality' => 3,
     'deleted' => 0,
     'entity_types' => array(),
-    'field_name' => 'field_ecouter',
+    'field_name' => 'field_eclairages',
     'field_permissions' => array(
       'type' => 0,
     ),
-    'foreign keys' => array(
-      'tid' => array(
-        'columns' => array(
-          'tid' => 'tid',
+    'indexes' => array(
+      'target_id' => array(
+        0 => 'target_id',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'entityreference',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'handler' => 'base',
+      'handler_settings' => array(
+        'behaviors' => array(
+          'views-select-list' => array(
+            'status' => 0,
+          ),
+        ),
+        'sort' => array(
+          'type' => 'none',
+        ),
+        'target_bundles' => array(
+          'documentair' => 'documentair',
         ),
-        'table' => 'taxonomy_term_data',
       ),
+      'target_type' => 'node',
+    ),
+    'translatable' => 0,
+    'type' => 'entityreference',
+  );
+
+  // Exported field_base: 'field_ecouter'.
+  $field_bases['field_ecouter'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_ecouter',
+    'field_permissions' => array(
+      'type' => 0,
     ),
     'indexes' => array(
       'tid' => array(
@@ -121,12 +245,13 @@ function clameurs_field_default_field_bases() {
         ),
       ),
       'entity_translation_sync' => FALSE,
+      'options_list_callback' => 'title_taxonomy_allowed_values',
     ),
     'translatable' => 0,
     'type' => 'taxonomy_term_reference',
   );
 
-  // Exported field_base: 'field_episodes'
+  // Exported field_base: 'field_episodes'.
   $field_bases['field_episodes'] = array(
     'active' => 1,
     'cardinality' => -1,
@@ -136,14 +261,6 @@ function clameurs_field_default_field_bases() {
     'field_permissions' => array(
       'type' => 0,
     ),
-    'foreign keys' => array(
-      'node' => array(
-        'columns' => array(
-          'target_id' => 'nid',
-        ),
-        'table' => 'node',
-      ),
-    ),
     'indexes' => array(
       'target_id' => array(
         0 => 'target_id',
@@ -173,7 +290,7 @@ function clameurs_field_default_field_bases() {
     'type' => 'entityreference',
   );
 
-  // Exported field_base: 'field_habiter'
+  // Exported field_base: 'field_habiter'.
   $field_bases['field_habiter'] = array(
     'active' => 1,
     'cardinality' => 1,
@@ -183,14 +300,6 @@ function clameurs_field_default_field_bases() {
     'field_permissions' => array(
       'type' => 0,
     ),
-    'foreign keys' => array(
-      'taxonomy_term_data' => array(
-        'columns' => array(
-          'target_id' => 'tid',
-        ),
-        'table' => 'taxonomy_term_data',
-      ),
-    ),
     'indexes' => array(
       'target_id' => array(
         0 => 'target_id',
@@ -220,7 +329,29 @@ function clameurs_field_default_field_bases() {
     'type' => 'entityreference',
   );
 
-  // Exported field_base: 'field_thematique'
+  // Exported field_base: 'field_legende'.
+  $field_bases['field_legende'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_legende',
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'max_length' => 255,
+    ),
+    'translatable' => 0,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'field_thematique'.
   $field_bases['field_thematique'] = array(
     'active' => 1,
     'cardinality' => 1,
@@ -230,14 +361,6 @@ function clameurs_field_default_field_bases() {
     'field_permissions' => array(
       'type' => 0,
     ),
-    'foreign keys' => array(
-      'node' => array(
-        'columns' => array(
-          'target_id' => 'nid',
-        ),
-        'table' => 'node',
-      ),
-    ),
     'indexes' => array(
       'target_id' => array(
         0 => 'target_id',
@@ -267,7 +390,7 @@ function clameurs_field_default_field_bases() {
     'type' => 'entityreference',
   );
 
-  // Exported field_base: 'field_video'
+  // Exported field_base: 'field_video'.
   $field_bases['field_video'] = array(
     'active' => 1,
     'cardinality' => 1,
@@ -277,7 +400,6 @@ function clameurs_field_default_field_bases() {
     'field_permissions' => array(
       'type' => 0,
     ),
-    'foreign keys' => array(),
     'indexes' => array(
       'height' => array(
         0 => 'height',

+ 305 - 33
sites/all/modules/features/clameurs/clameurs.features.field_instance.inc

@@ -10,7 +10,220 @@
 function clameurs_field_default_field_instances() {
   $field_instances = array();
 
-  // Exported field_instance: 'node-documentair-body'
+  // Exported field_instance: 'cer-cer-cer_bidirectional'.
+  $field_instances['cer-cer-cer_bidirectional'] = array(
+    'bundle' => 'cer',
+    'default_value' => array(
+      0 => array(
+        'value' => 1,
+      ),
+    ),
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'list',
+        'settings' => array(),
+        'type' => 'list_default',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'cer',
+    'field_name' => 'cer_bidirectional',
+    'label' => 'Bidirectional',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'options',
+      'settings' => array(
+        'display_label' => 1,
+      ),
+      'type' => 'options_onoff',
+      'weight' => 3,
+    ),
+  );
+
+  // Exported field_instance: 'cer-cer-cer_enabled'.
+  $field_instances['cer-cer-cer_enabled'] = array(
+    'bundle' => 'cer',
+    'default_value' => array(
+      0 => array(
+        'value' => 1,
+      ),
+    ),
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'list',
+        'settings' => array(),
+        'type' => 'list_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'cer',
+    'field_name' => 'cer_enabled',
+    'label' => 'Enabled',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'options',
+      'settings' => array(
+        'display_label' => 1,
+      ),
+      'type' => 'options_onoff',
+      'weight' => 2,
+    ),
+  );
+
+  // Exported field_instance: 'cer-cer-cer_left'.
+  $field_instances['cer-cer-cer_left'] = array(
+    'bundle' => 'cer',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'field_object',
+        'settings' => array(),
+        'type' => 'field_object_label',
+        'weight' => 5,
+      ),
+    ),
+    'entity_type' => 'cer',
+    'field_name' => 'cer_left',
+    'label' => 'Left Field',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'function' => 'CerFieldChain::collectAll',
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'options',
+      'settings' => array(),
+      'type' => 'options_select',
+      'weight' => 0,
+    ),
+  );
+
+  // Exported field_instance: 'cer-cer-cer_right'.
+  $field_instances['cer-cer-cer_right'] = array(
+    'bundle' => 'cer',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'field_object',
+        'settings' => array(),
+        'type' => 'field_object_label',
+        'weight' => 6,
+      ),
+    ),
+    'entity_type' => 'cer',
+    'field_name' => 'cer_right',
+    'label' => 'Right Field',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'function' => 'CerFieldChain::collectAll',
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'options',
+      'settings' => array(),
+      'type' => 'options_select',
+      'weight' => 1,
+    ),
+  );
+
+  // Exported field_instance: 'cer-cer-cer_weight'.
+  $field_instances['cer-cer-cer_weight'] = array(
+    'bundle' => 'cer',
+    'default_value' => array(
+      0 => array(
+        'value' => 0,
+      ),
+    ),
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'list',
+        'settings' => array(),
+        'type' => 'list_default',
+        'weight' => 4,
+      ),
+    ),
+    'entity_type' => 'cer',
+    'field_name' => 'cer_weight',
+    'label' => 'Weight',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'options',
+      'settings' => array(),
+      'type' => 'options_select',
+      'weight' => 4,
+    ),
+  );
+
+  // Exported field_instance: 'file-image-field_legende'.
+  $field_instances['file-image-field_legende'] = array(
+    'bundle' => 'image',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'file',
+    'field_name' => 'field_legende',
+    'label' => 'Legende',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 1,
+    ),
+  );
+
+  // Exported field_instance: 'node-documentair-body'.
   $field_instances['node-documentair-body'] = array(
     'bundle' => 'documentair',
     'default_value' => NULL,
@@ -31,7 +244,7 @@ function clameurs_field_default_field_instances() {
           'trim_length' => 600,
         ),
         'type' => 'text_summary_or_trimmed',
-        'weight' => 0,
+        'weight' => 2,
       ),
     ),
     'entity_type' => 'node',
@@ -55,7 +268,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-documentair-field_description'
+  // Exported field_instance: 'node-documentair-field_description'.
   $field_instances['node-documentair-field_description'] = array(
     'bundle' => 'documentair',
     'default_value' => NULL,
@@ -73,7 +286,7 @@ function clameurs_field_default_field_instances() {
         'label' => 'above',
         'settings' => array(),
         'type' => 'hidden',
-        'weight' => 0,
+        'weight' => 6,
       ),
     ),
     'entity_type' => 'node',
@@ -101,7 +314,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-documentair-field_doc'
+  // Exported field_instance: 'node-documentair-field_doc'.
   $field_instances['node-documentair-field_doc'] = array(
     'bundle' => 'documentair',
     'default_value' => NULL,
@@ -118,9 +331,12 @@ function clameurs_field_default_field_instances() {
         'weight' => 1,
       ),
       'teaser' => array(
-        'label' => 'above',
-        'settings' => array(),
-        'type' => 'hidden',
+        'label' => 'hidden',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
         'weight' => 0,
       ),
     ),
@@ -146,7 +362,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-documentair-field_thematique'
+  // Exported field_instance: 'node-documentair-field_thematique'.
   $field_instances['node-documentair-field_thematique'] = array(
     'bundle' => 'documentair',
     'default_value' => NULL,
@@ -166,7 +382,7 @@ function clameurs_field_default_field_instances() {
         'label' => 'above',
         'settings' => array(),
         'type' => 'hidden',
-        'weight' => 0,
+        'weight' => 5,
       ),
     ),
     'entity_type' => 'node',
@@ -190,7 +406,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-documentair-field_video'
+  // Exported field_instance: 'node-documentair-field_video'.
   $field_instances['node-documentair-field_video'] = array(
     'bundle' => 'documentair',
     'default_value' => NULL,
@@ -205,10 +421,11 @@ function clameurs_field_default_field_instances() {
         'weight' => 2,
       ),
       'teaser' => array(
-        'label' => 'above',
+        'label' => 'hidden',
+        'module' => 'video_filter_field',
         'settings' => array(),
-        'type' => 'hidden',
-        'weight' => 0,
+        'type' => 'video_filter_field_default',
+        'weight' => 1,
       ),
     ),
     'entity_type' => 'node',
@@ -231,7 +448,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-episode-body'
+  // Exported field_instance: 'node-episode-body'.
   $field_instances['node-episode-body'] = array(
     'bundle' => 'episode',
     'default_value' => NULL,
@@ -252,7 +469,7 @@ function clameurs_field_default_field_instances() {
           'trim_length' => 600,
         ),
         'type' => 'text_summary_or_trimmed',
-        'weight' => 0,
+        'weight' => 2,
       ),
     ),
     'entity_type' => 'node',
@@ -276,7 +493,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-episode-field_description'
+  // Exported field_instance: 'node-episode-field_description'.
   $field_instances['node-episode-field_description'] = array(
     'bundle' => 'episode',
     'default_value' => NULL,
@@ -294,7 +511,7 @@ function clameurs_field_default_field_instances() {
         'label' => 'above',
         'settings' => array(),
         'type' => 'hidden',
-        'weight' => 0,
+        'weight' => 5,
       ),
     ),
     'entity_type' => 'node',
@@ -322,7 +539,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-episode-field_habiter'
+  // Exported field_instance: 'node-episode-field_habiter'.
   $field_instances['node-episode-field_habiter'] = array(
     'bundle' => 'episode',
     'default_value' => NULL,
@@ -339,9 +556,12 @@ function clameurs_field_default_field_instances() {
         'weight' => 3,
       ),
       'teaser' => array(
-        'label' => 'above',
-        'settings' => array(),
-        'type' => 'hidden',
+        'label' => 'hidden',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
         'weight' => 0,
       ),
     ),
@@ -373,7 +593,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-episode-field_thematique'
+  // Exported field_instance: 'node-episode-field_thematique'.
   $field_instances['node-episode-field_thematique'] = array(
     'bundle' => 'episode',
     'default_value' => NULL,
@@ -393,7 +613,7 @@ function clameurs_field_default_field_instances() {
         'label' => 'above',
         'settings' => array(),
         'type' => 'hidden',
-        'weight' => 0,
+        'weight' => 6,
       ),
     ),
     'entity_type' => 'node',
@@ -417,7 +637,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-episode-field_video'
+  // Exported field_instance: 'node-episode-field_video'.
   $field_instances['node-episode-field_video'] = array(
     'bundle' => 'episode',
     'default_value' => NULL,
@@ -432,10 +652,11 @@ function clameurs_field_default_field_instances() {
         'weight' => 1,
       ),
       'teaser' => array(
-        'label' => 'above',
+        'label' => 'hidden',
+        'module' => 'video_filter_field',
         'settings' => array(),
-        'type' => 'hidden',
-        'weight' => 0,
+        'type' => 'video_filter_field_default',
+        'weight' => 1,
       ),
     ),
     'entity_type' => 'node',
@@ -458,7 +679,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-thematique-body'
+  // Exported field_instance: 'node-thematique-body'.
   $field_instances['node-thematique-body'] = array(
     'bundle' => 'thematique',
     'default_value' => NULL,
@@ -503,7 +724,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-thematique-field_description'
+  // Exported field_instance: 'node-thematique-field_description'.
   $field_instances['node-thematique-field_description'] = array(
     'bundle' => 'thematique',
     'default_value' => NULL,
@@ -549,7 +770,51 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-thematique-field_ecouter'
+  // Exported field_instance: 'node-thematique-field_eclairages'.
+  $field_instances['node-thematique-field_eclairages'] = array(
+    'bundle' => 'thematique',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
+        'weight' => 6,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_eclairages',
+    'label' => 'éclairages',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'entityreference',
+      'settings' => array(
+        'match_operator' => 'CONTAINS',
+        'path' => '',
+        'size' => 60,
+      ),
+      'type' => 'entityreference_autocomplete',
+      'weight' => 100,
+    ),
+  );
+
+  // Exported field_instance: 'node-thematique-field_ecouter'.
   $field_instances['node-thematique-field_ecouter'] = array(
     'bundle' => 'thematique',
     'default_value' => NULL,
@@ -591,7 +856,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-thematique-field_episodes'
+  // Exported field_instance: 'node-thematique-field_episodes'.
   $field_instances['node-thematique-field_episodes'] = array(
     'bundle' => 'thematique',
     'default_value' => NULL,
@@ -635,7 +900,7 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
-  // Exported field_instance: 'node-thematique-field_video'
+  // Exported field_instance: 'node-thematique-field_video'.
   $field_instances['node-thematique-field_video'] = array(
     'bundle' => 'thematique',
     'default_value' => NULL,
@@ -678,14 +943,21 @@ function clameurs_field_default_field_instances() {
 
   // Translatables
   // Included for use with string extractors like potx.
+  t('Bidirectional');
   t('Body');
   t('Description');
   t('Doc');
+  t('Enabled');
   t('Habiter');
+  t('Left Field');
+  t('Legende');
+  t('Right Field');
   t('Thématique');
   t('Video');
+  t('Weight');
   t('Écouter');
   t('Épisodes');
+  t('éclairages');
 
   return $field_instances;
 }

+ 31 - 1
sites/all/modules/features/clameurs/clameurs.features.inc

@@ -4,6 +4,30 @@
  * clameurs.features.inc
  */
 
+/**
+ * Implements hook_default_cer().
+ */
+function clameurs_default_cer() {
+  $items = array();
+  $items['node:documentair:field_thematique*node:thematique:field_eclairages'] = entity_import('cer', '{
+    "cer_bidirectional" : { "und" : [ { "value" : "1" } ] },
+    "cer_enabled" : { "und" : [ { "value" : "1" } ] },
+    "cer_left" : { "und" : [ { "path" : "node:documentair:field_thematique" } ] },
+    "cer_right" : { "und" : [ { "path" : "node:thematique:field_eclairages" } ] },
+    "cer_weight" : { "und" : [ { "value" : "0" } ] },
+    "identifier" : "node:documentair:field_thematique*node:thematique:field_eclairages"
+  }');
+  $items['node:thematique:field_episodes*node:episode:field_thematique'] = entity_import('cer', '{
+    "cer_bidirectional" : { "und" : [ { "value" : "1" } ] },
+    "cer_enabled" : { "und" : [ { "value" : "1" } ] },
+    "cer_left" : { "und" : [ { "path" : "node:thematique:field_episodes" } ] },
+    "cer_right" : { "und" : [ { "path" : "node:episode:field_thematique" } ] },
+    "cer_weight" : { "und" : [ { "value" : "0" } ] },
+    "identifier" : "node:thematique:field_episodes*node:episode:field_thematique"
+  }');
+  return $items;
+}
+
 /**
  * Implements hook_ctools_plugin_api().
  */
@@ -11,6 +35,12 @@ function clameurs_ctools_plugin_api($module = NULL, $api = NULL) {
   if ($module == "field_group" && $api == "field_group") {
     return array("version" => "1");
   }
+  if ($module == "page_manager" && $api == "pages_default") {
+    return array("version" => "1");
+  }
+  if ($module == "panels_mini" && $api == "panels_default") {
+    return array("version" => "1");
+  }
   if ($module == "strongarm" && $api == "strongarm") {
     return array("version" => "1");
   }
@@ -22,7 +52,7 @@ function clameurs_ctools_plugin_api($module = NULL, $api = NULL) {
 function clameurs_node_info() {
   $items = array(
     'documentair' => array(
-      'name' => t('Documentair'),
+      'name' => t('Documentaire'),
       'base' => 'node_content',
       'description' => '',
       'has_title' => '1',

+ 359 - 0
sites/all/modules/features/clameurs/clameurs.features.user_permission.inc

@@ -0,0 +1,359 @@
+<?php
+/**
+ * @file
+ * clameurs.features.user_permission.inc
+ */
+
+/**
+ * Implements hook_user_default_permissions().
+ */
+function clameurs_user_default_permissions() {
+  $permissions = array();
+
+  // Exported permission: 'administer advanced pane settings'.
+  $permissions['administer advanced pane settings'] = array(
+    'name' => 'administer advanced pane settings',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'administer cer settings'.
+  $permissions['administer cer settings'] = array(
+    'name' => 'administer cer settings',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'cer',
+  );
+
+  // Exported permission: 'administer custom content'.
+  $permissions['administer custom content'] = array(
+    'name' => 'administer custom content',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'ctools_custom_content',
+  );
+
+  // Exported permission: 'administer login destination settings'.
+  $permissions['administer login destination settings'] = array(
+    'name' => 'administer login destination settings',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'login_destination',
+  );
+
+  // Exported permission: 'administer mini panels'.
+  $permissions['administer mini panels'] = array(
+    'name' => 'administer mini panels',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels_mini',
+  );
+
+  // Exported permission: 'administer pane access'.
+  $permissions['administer pane access'] = array(
+    'name' => 'administer pane access',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'administer panels display styles'.
+  $permissions['administer panels display styles'] = array(
+    'name' => 'administer panels display styles',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'administer panels layouts'.
+  $permissions['administer panels layouts'] = array(
+    'name' => 'administer panels layouts',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'administer panels pane styles'.
+  $permissions['administer panels pane styles'] = array(
+    'name' => 'administer panels pane styles',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'administer panels region styles'.
+  $permissions['administer panels region styles'] = array(
+    'name' => 'administer panels region styles',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'administer panels styles'.
+  $permissions['administer panels styles'] = array(
+    'name' => 'administer panels styles',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'bypass access in place editing'.
+  $permissions['bypass access in place editing'] = array(
+    'name' => 'bypass access in place editing',
+    'roles' => array(),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'change layouts in place editing'.
+  $permissions['change layouts in place editing'] = array(
+    'name' => 'change layouts in place editing',
+    'roles' => array(),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'clone node'.
+  $permissions['clone node'] = array(
+    'name' => 'clone node',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'clone',
+  );
+
+  // Exported permission: 'clone own nodes'.
+  $permissions['clone own nodes'] = array(
+    'name' => 'clone own nodes',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'clone',
+  );
+
+  // Exported permission: 'create documentair content'.
+  $permissions['create documentair content'] = array(
+    'name' => 'create documentair content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'create episode content'.
+  $permissions['create episode content'] = array(
+    'name' => 'create episode content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'create mini panels'.
+  $permissions['create mini panels'] = array(
+    'name' => 'create mini panels',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels_mini',
+  );
+
+  // Exported permission: 'create thematique content'.
+  $permissions['create thematique content'] = array(
+    'name' => 'create thematique content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete any documentair content'.
+  $permissions['delete any documentair content'] = array(
+    'name' => 'delete any documentair content',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete any episode content'.
+  $permissions['delete any episode content'] = array(
+    'name' => 'delete any episode content',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete any thematique content'.
+  $permissions['delete any thematique content'] = array(
+    'name' => 'delete any thematique content',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete own documentair content'.
+  $permissions['delete own documentair content'] = array(
+    'name' => 'delete own documentair content',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete own episode content'.
+  $permissions['delete own episode content'] = array(
+    'name' => 'delete own episode content',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete own thematique content'.
+  $permissions['delete own thematique content'] = array(
+    'name' => 'delete own thematique content',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit any documentair content'.
+  $permissions['edit any documentair content'] = array(
+    'name' => 'edit any documentair content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit any episode content'.
+  $permissions['edit any episode content'] = array(
+    'name' => 'edit any episode content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit any thematique content'.
+  $permissions['edit any thematique content'] = array(
+    'name' => 'edit any thematique content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit own documentair content'.
+  $permissions['edit own documentair content'] = array(
+    'name' => 'edit own documentair content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit own episode content'.
+  $permissions['edit own episode content'] = array(
+    'name' => 'edit own episode content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit own thematique content'.
+  $permissions['edit own thematique content'] = array(
+    'name' => 'edit own thematique content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'use ipe with page manager'.
+  $permissions['use ipe with page manager'] = array(
+    'name' => 'use ipe with page manager',
+    'roles' => array(),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'use page manager'.
+  $permissions['use page manager'] = array(
+    'name' => 'use page manager',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'page_manager',
+  );
+
+  // Exported permission: 'use panels caching features'.
+  $permissions['use panels caching features'] = array(
+    'name' => 'use panels caching features',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'use panels dashboard'.
+  $permissions['use panels dashboard'] = array(
+    'name' => 'use panels dashboard',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'use panels in place editing'.
+  $permissions['use panels in place editing'] = array(
+    'name' => 'use panels in place editing',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'use panels locks'.
+  $permissions['use panels locks'] = array(
+    'name' => 'use panels locks',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  // Exported permission: 'view pane admin links'.
+  $permissions['view pane admin links'] = array(
+    'name' => 'view pane admin links',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'panels',
+  );
+
+  return $permissions;
+}

+ 49 - 12
sites/all/modules/features/clameurs/clameurs.field_group.inc

@@ -8,7 +8,35 @@
  * Implements hook_field_group_info().
  */
 function clameurs_field_group_info() {
-  $export = array();
+  $field_groups = array();
+
+  $field_group = new stdClass();
+  $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->api_version = 1;
+  $field_group->identifier = 'group_eclairage|node|thematique|form';
+  $field_group->group_name = 'group_eclairage';
+  $field_group->entity_type = 'node';
+  $field_group->bundle = 'thematique';
+  $field_group->mode = 'form';
+  $field_group->parent_name = 'group_htabs';
+  $field_group->data = array(
+    'label' => 'Éclairages',
+    'weight' => '10',
+    'children' => array(
+      0 => 'field_eclairages',
+    ),
+    'format_type' => 'htab',
+    'format_settings' => array(
+      'label' => 'Éclairages',
+      'instance_settings' => array(
+        'required_fields' => 1,
+        'classes' => 'group-eclairage field-group-htab',
+        'description' => '',
+      ),
+      'formatter' => 'closed',
+    ),
+  );
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -36,7 +64,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_episodes|node|thematique|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -62,7 +90,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_htabs|node|documentair|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -88,7 +116,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_htabs|node|episode|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -106,6 +134,7 @@ function clameurs_field_group_info() {
       0 => 'group_video',
       1 => 'group_texte',
       2 => 'group_episodes',
+      3 => 'group_eclairage',
     ),
     'format_type' => 'htabs',
     'format_settings' => array(
@@ -115,7 +144,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_htabs|node|thematique|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -143,7 +172,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_texte|node|documentair|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -171,7 +200,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_texte|node|episode|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -198,7 +227,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_texte|node|thematique|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -227,7 +256,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_video|node|documentair|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -256,7 +285,7 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_video|node|episode|form'] = $field_group;
+  $field_groups[''] = $field_group;
 
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -285,7 +314,15 @@ function clameurs_field_group_info() {
       ),
     ),
   );
-  $export['group_video|node|thematique|form'] = $field_group;
+  $field_groups[''] = $field_group;
+
+  // Translatables
+  // Included for use with string extractors like potx.
+  t('Texte');
+  t('Video');
+  t('htabs');
+  t('Éclairages');
+  t('Épisodes');
 
-  return $export;
+  return $field_groups;
 }

+ 71 - 0
sites/all/modules/features/clameurs/clameurs.info

@@ -1,30 +1,51 @@
 name = Clameurs
 core = 7.x
 package = Clameurs
+dependencies[] = cer
+dependencies[] = clone
 dependencies[] = ctools
+dependencies[] = ctools_custom_content
 dependencies[] = entity
 dependencies[] = entityreference
 dependencies[] = features
 dependencies[] = field_extrawidgets
 dependencies[] = field_group
+dependencies[] = field_object
+dependencies[] = list
+dependencies[] = login_destination
 dependencies[] = node
 dependencies[] = options
 dependencies[] = page
+dependencies[] = page_manager
+dependencies[] = panels
+dependencies[] = panels_mini
 dependencies[] = rules
 dependencies[] = strongarm
 dependencies[] = taxonomy
 dependencies[] = text
 dependencies[] = video_filter_field
+features[cer][] = node:documentair:field_thematique*node:thematique:field_eclairages
+features[cer][] = node:thematique:field_episodes*node:episode:field_thematique
 features[ctools][] = field_group:field_group:1
+features[ctools][] = page_manager:pages_default:1
+features[ctools][] = panels_mini:panels_default:1
 features[ctools][] = strongarm:strongarm:1
 features[features_api][] = api:2
+features[field_base][] = cer_bidirectional
+features[field_base][] = cer_enabled
+features[field_base][] = cer_left
+features[field_base][] = cer_right
+features[field_base][] = cer_weight
 features[field_base][] = field_description
 features[field_base][] = field_doc
+features[field_base][] = field_eclairages
 features[field_base][] = field_ecouter
 features[field_base][] = field_episodes
 features[field_base][] = field_habiter
+features[field_base][] = field_legende
 features[field_base][] = field_thematique
 features[field_base][] = field_video
+features[field_group][] = group_eclairage|node|thematique|form
 features[field_group][] = group_episodes|node|thematique|form
 features[field_group][] = group_htabs|node|documentair|form
 features[field_group][] = group_htabs|node|episode|form
@@ -35,6 +56,12 @@ features[field_group][] = group_texte|node|thematique|form
 features[field_group][] = group_video|node|documentair|form
 features[field_group][] = group_video|node|episode|form
 features[field_group][] = group_video|node|thematique|form
+features[field_instance][] = cer-cer-cer_bidirectional
+features[field_instance][] = cer-cer-cer_enabled
+features[field_instance][] = cer-cer-cer_left
+features[field_instance][] = cer-cer-cer_right
+features[field_instance][] = cer-cer-cer_weight
+features[field_instance][] = file-image-field_legende
 features[field_instance][] = node-documentair-body
 features[field_instance][] = node-documentair-field_description
 features[field_instance][] = node-documentair-field_doc
@@ -47,16 +74,57 @@ features[field_instance][] = node-episode-field_thematique
 features[field_instance][] = node-episode-field_video
 features[field_instance][] = node-thematique-body
 features[field_instance][] = node-thematique-field_description
+features[field_instance][] = node-thematique-field_eclairages
 features[field_instance][] = node-thematique-field_ecouter
 features[field_instance][] = node-thematique-field_episodes
 features[field_instance][] = node-thematique-field_video
 features[node][] = documentair
 features[node][] = episode
 features[node][] = thematique
+features[page_manager_pages][] = home
+features[panels_mini][] = th_matique
 features[rules_config][] = clameurs_habiter
 features[rules_config][] = rules_ecouter
 features[rules_config][] = rules_episode_th_matique
 features[taxonomy][] = actions
+features[user_permission][] = administer advanced pane settings
+features[user_permission][] = administer cer settings
+features[user_permission][] = administer custom content
+features[user_permission][] = administer login destination settings
+features[user_permission][] = administer mini panels
+features[user_permission][] = administer pane access
+features[user_permission][] = administer panels display styles
+features[user_permission][] = administer panels layouts
+features[user_permission][] = administer panels pane styles
+features[user_permission][] = administer panels region styles
+features[user_permission][] = administer panels styles
+features[user_permission][] = bypass access in place editing
+features[user_permission][] = change layouts in place editing
+features[user_permission][] = clone node
+features[user_permission][] = clone own nodes
+features[user_permission][] = create documentair content
+features[user_permission][] = create episode content
+features[user_permission][] = create mini panels
+features[user_permission][] = create thematique content
+features[user_permission][] = delete any documentair content
+features[user_permission][] = delete any episode content
+features[user_permission][] = delete any thematique content
+features[user_permission][] = delete own documentair content
+features[user_permission][] = delete own episode content
+features[user_permission][] = delete own thematique content
+features[user_permission][] = edit any documentair content
+features[user_permission][] = edit any episode content
+features[user_permission][] = edit any thematique content
+features[user_permission][] = edit own documentair content
+features[user_permission][] = edit own episode content
+features[user_permission][] = edit own thematique content
+features[user_permission][] = use ipe with page manager
+features[user_permission][] = use page manager
+features[user_permission][] = use panels caching features
+features[user_permission][] = use panels dashboard
+features[user_permission][] = use panels in place editing
+features[user_permission][] = use panels locks
+features[user_permission][] = view pane admin links
 features[variable][] = field_bundle_settings_node__documentair
 features[variable][] = field_bundle_settings_node__episode
 features[variable][] = field_bundle_settings_node__thematique
@@ -78,4 +146,7 @@ features[variable][] = node_preview_thematique
 features[variable][] = node_submitted_documentair
 features[variable][] = node_submitted_episode
 features[variable][] = node_submitted_thematique
+features[variable][] = pathauto_node_documentair_pattern
+features[variable][] = pathauto_node_episode_pattern
+features[variable][] = pathauto_node_thematique_pattern
 project path = sites/all/modules/features

+ 298 - 0
sites/all/modules/features/clameurs/clameurs.pages_default.inc

@@ -0,0 +1,298 @@
+<?php
+/**
+ * @file
+ * clameurs.pages_default.inc
+ */
+
+/**
+ * Implements hook_default_page_manager_pages().
+ */
+function clameurs_default_page_manager_pages() {
+  $page = new stdClass();
+  $page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */
+  $page->api_version = 1;
+  $page->name = 'home';
+  $page->task = 'page';
+  $page->admin_title = 'Home';
+  $page->admin_description = 'Home for onepage clameurs website';
+  $page->path = 'home';
+  $page->access = array();
+  $page->menu = array();
+  $page->arguments = array();
+  $page->conf = array(
+    'admin_paths' => FALSE,
+  );
+  $page->default_handlers = array();
+  $handler = new stdClass();
+  $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
+  $handler->api_version = 1;
+  $handler->name = 'page_home__panneau';
+  $handler->task = 'page';
+  $handler->subtask = 'home';
+  $handler->handler = 'panel_context';
+  $handler->weight = 0;
+  $handler->conf = array(
+    'title' => 'Home',
+    'no_blocks' => 0,
+    'pipeline' => 'standard',
+    'body_classes_to_remove' => '',
+    'body_classes_to_add' => '',
+    'css_id' => '',
+    'css' => '',
+    'contexts' => array(
+      0 => array(
+        'identifier' => 'T1',
+        'keyword' => 'node',
+        'name' => 'entity:node',
+        'entity_id' => '3',
+        'id' => 1,
+      ),
+      1 => array(
+        'identifier' => 'T2',
+        'keyword' => 'node_2',
+        'name' => 'entity:node',
+        'entity_id' => '14',
+        'id' => 2,
+      ),
+      2 => array(
+        'identifier' => 'T3',
+        'keyword' => 'node_3',
+        'name' => 'entity:node',
+        'entity_id' => '20',
+        'id' => 3,
+      ),
+      3 => array(
+        'identifier' => 'T4',
+        'keyword' => 'node_4',
+        'name' => 'entity:node',
+        'entity_id' => '26',
+        'id' => 4,
+      ),
+      4 => array(
+        'identifier' => 'T5',
+        'keyword' => 'node_5',
+        'name' => 'entity:node',
+        'entity_id' => '32',
+        'id' => 5,
+      ),
+      5 => array(
+        'identifier' => 'T6',
+        'keyword' => 'node_6',
+        'name' => 'entity:node',
+        'entity_id' => '38',
+        'id' => 6,
+      ),
+    ),
+    'relationships' => array(),
+    'name' => 'panneau',
+  );
+  $display = new panels_display();
+  $display->layout = 'onecol';
+  $display->layout_settings = array();
+  $display->panel_settings = array(
+    'style_settings' => array(
+      'default' => NULL,
+      'middle' => NULL,
+    ),
+  );
+  $display->cache = array();
+  $display->title = '';
+  $display->uuid = 'cc95d4d9-2da7-434a-a6d9-1c54f7c04244';
+  $display->storage_type = 'page_manager';
+  $display->storage_id = 'page_home__panneau';
+  $display->content = array();
+  $display->panels = array();
+  $pane = new stdClass();
+  $pane->pid = 'new-047092b0-9489-436d-879b-704fc543bf86';
+  $pane->panel = 'middle';
+  $pane->type = 'node';
+  $pane->subtype = 'node';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'nid' => '63',
+    'links' => 1,
+    'leave_node_title' => 0,
+    'identifier' => '',
+    'build_mode' => 'teaser',
+    'link_node_title' => 0,
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 0;
+  $pane->locks = array();
+  $pane->uuid = '047092b0-9489-436d-879b-704fc543bf86';
+  $display->content['new-047092b0-9489-436d-879b-704fc543bf86'] = $pane;
+  $display->panels['middle'][0] = 'new-047092b0-9489-436d-879b-704fc543bf86';
+  $pane = new stdClass();
+  $pane->pid = 'new-698583ec-031d-4b04-a42e-af1c315bde56';
+  $pane->panel = 'middle';
+  $pane->type = 'panels_mini';
+  $pane->subtype = 'th_matique';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'context' => array(
+      0 => 'empty',
+    ),
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 1;
+  $pane->locks = array();
+  $pane->uuid = '698583ec-031d-4b04-a42e-af1c315bde56';
+  $display->content['new-698583ec-031d-4b04-a42e-af1c315bde56'] = $pane;
+  $display->panels['middle'][1] = 'new-698583ec-031d-4b04-a42e-af1c315bde56';
+  $pane = new stdClass();
+  $pane->pid = 'new-00e0d860-0d91-4a9a-b8c6-c8021d74d438';
+  $pane->panel = 'middle';
+  $pane->type = 'panels_mini';
+  $pane->subtype = 'th_matique';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+    'context' => array(
+      0 => 'context_entity:node_2',
+    ),
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 2;
+  $pane->locks = array();
+  $pane->uuid = '00e0d860-0d91-4a9a-b8c6-c8021d74d438';
+  $display->content['new-00e0d860-0d91-4a9a-b8c6-c8021d74d438'] = $pane;
+  $display->panels['middle'][2] = 'new-00e0d860-0d91-4a9a-b8c6-c8021d74d438';
+  $pane = new stdClass();
+  $pane->pid = 'new-fe463245-7772-4af9-acf1-a58504d02a9a';
+  $pane->panel = 'middle';
+  $pane->type = 'panels_mini';
+  $pane->subtype = 'th_matique';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'context' => array(
+      0 => 'context_entity:node_3',
+    ),
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 3;
+  $pane->locks = array();
+  $pane->uuid = 'fe463245-7772-4af9-acf1-a58504d02a9a';
+  $display->content['new-fe463245-7772-4af9-acf1-a58504d02a9a'] = $pane;
+  $display->panels['middle'][3] = 'new-fe463245-7772-4af9-acf1-a58504d02a9a';
+  $pane = new stdClass();
+  $pane->pid = 'new-3bcabce9-5d73-4bca-a37a-c541cfd1bec5';
+  $pane->panel = 'middle';
+  $pane->type = 'panels_mini';
+  $pane->subtype = 'th_matique';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'context' => array(
+      0 => 'context_entity:node_4',
+    ),
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 4;
+  $pane->locks = array();
+  $pane->uuid = '3bcabce9-5d73-4bca-a37a-c541cfd1bec5';
+  $display->content['new-3bcabce9-5d73-4bca-a37a-c541cfd1bec5'] = $pane;
+  $display->panels['middle'][4] = 'new-3bcabce9-5d73-4bca-a37a-c541cfd1bec5';
+  $pane = new stdClass();
+  $pane->pid = 'new-eaddcc28-d241-456b-a324-fc9838804350';
+  $pane->panel = 'middle';
+  $pane->type = 'panels_mini';
+  $pane->subtype = 'th_matique';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'context' => array(
+      0 => 'context_entity:node_5',
+    ),
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 5;
+  $pane->locks = array();
+  $pane->uuid = 'eaddcc28-d241-456b-a324-fc9838804350';
+  $display->content['new-eaddcc28-d241-456b-a324-fc9838804350'] = $pane;
+  $display->panels['middle'][5] = 'new-eaddcc28-d241-456b-a324-fc9838804350';
+  $pane = new stdClass();
+  $pane->pid = 'new-e252dc22-b3f1-4d05-84d9-652b369ced20';
+  $pane->panel = 'middle';
+  $pane->type = 'panels_mini';
+  $pane->subtype = 'th_matique';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'context' => array(
+      0 => 'context_entity:node_6',
+    ),
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 6;
+  $pane->locks = array();
+  $pane->uuid = 'e252dc22-b3f1-4d05-84d9-652b369ced20';
+  $display->content['new-e252dc22-b3f1-4d05-84d9-652b369ced20'] = $pane;
+  $display->panels['middle'][6] = 'new-e252dc22-b3f1-4d05-84d9-652b369ced20';
+  $display->hide_title = PANELS_TITLE_NONE;
+  $display->title_pane = '0';
+  $handler->conf['display'] = $display;
+  $page->default_handlers[$handler->name] = $handler;
+  $pages['home'] = $page;
+
+  return $pages;
+
+}

+ 185 - 0
sites/all/modules/features/clameurs/clameurs.panels_default.inc

@@ -0,0 +1,185 @@
+<?php
+/**
+ * @file
+ * clameurs.panels_default.inc
+ */
+
+/**
+ * Implements hook_default_panels_mini().
+ */
+function clameurs_default_panels_mini() {
+  $export = array();
+
+  $mini = new stdClass();
+  $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */
+  $mini->api_version = 1;
+  $mini->name = 'th_matique';
+  $mini->category = 'clameurs';
+  $mini->admin_title = 'Thématique';
+  $mini->admin_description = 'display a thematique with theese episode and documentaire';
+  $mini->requiredcontexts = array(
+    0 => array(
+      'identifier' => 'Nœud',
+      'keyword' => 'node',
+      'name' => 'entity:node',
+      'entity_id' => '',
+      'optional' => 0,
+      'id' => 1,
+    ),
+  );
+  $mini->contexts = array();
+  $mini->relationships = array();
+  $display = new panels_display();
+  $display->layout = 'twocol_stacked';
+  $display->layout_settings = array();
+  $display->panel_settings = array(
+    'style_settings' => array(
+      'default' => NULL,
+      'top' => NULL,
+      'left' => NULL,
+      'right' => NULL,
+      'bottom' => NULL,
+    ),
+  );
+  $display->cache = array();
+  $display->title = '%node:title';
+  $display->uuid = '4e740500-47e0-4654-b03d-e7ea78b47cec';
+  $display->storage_type = 'panels_mini';
+  $display->storage_id = 'th_matique';
+  $display->content = array();
+  $display->panels = array();
+  $pane = new stdClass();
+  $pane->pid = 'new-174a4077-63b3-418d-9b16-5887926f0f80';
+  $pane->panel = 'bottom';
+  $pane->type = 'entity_field';
+  $pane->subtype = 'node:field_episodes';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'label' => 'hidden',
+    'formatter' => 'entityreference_entity_view',
+    'delta_limit' => '0',
+    'delta_offset' => '0',
+    'delta_reversed' => 0,
+    'formatter_settings' => array(
+      'view_mode' => 'teaser',
+      'links' => 0,
+      'use_content_language' => 1,
+    ),
+    'context' => 'requiredcontext_entity:node_1',
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 0;
+  $pane->locks = array();
+  $pane->uuid = '174a4077-63b3-418d-9b16-5887926f0f80';
+  $display->content['new-174a4077-63b3-418d-9b16-5887926f0f80'] = $pane;
+  $display->panels['bottom'][0] = 'new-174a4077-63b3-418d-9b16-5887926f0f80';
+  $pane = new stdClass();
+  $pane->pid = 'new-3d79c2a1-ab4e-4a2d-a4d6-3a3960f7ae93';
+  $pane->panel = 'left';
+  $pane->type = 'entity_field';
+  $pane->subtype = 'node:body';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'label' => 'hidden',
+    'formatter' => 'text_default',
+    'delta_limit' => 0,
+    'delta_offset' => '0',
+    'delta_reversed' => FALSE,
+    'formatter_settings' => array(),
+    'context' => 'requiredcontext_entity:node_1',
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 0;
+  $pane->locks = array();
+  $pane->uuid = '3d79c2a1-ab4e-4a2d-a4d6-3a3960f7ae93';
+  $display->content['new-3d79c2a1-ab4e-4a2d-a4d6-3a3960f7ae93'] = $pane;
+  $display->panels['left'][0] = 'new-3d79c2a1-ab4e-4a2d-a4d6-3a3960f7ae93';
+  $pane = new stdClass();
+  $pane->pid = 'new-31bfe1c2-ad6d-43bf-9abf-1da110424deb';
+  $pane->panel = 'left';
+  $pane->type = 'entity_field';
+  $pane->subtype = 'node:field_video';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'label' => 'hidden',
+    'formatter' => 'video_filter_field_default',
+    'delta_limit' => 0,
+    'delta_offset' => '0',
+    'delta_reversed' => FALSE,
+    'formatter_settings' => array(),
+    'context' => 'requiredcontext_entity:node_1',
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 1;
+  $pane->locks = array();
+  $pane->uuid = '31bfe1c2-ad6d-43bf-9abf-1da110424deb';
+  $display->content['new-31bfe1c2-ad6d-43bf-9abf-1da110424deb'] = $pane;
+  $display->panels['left'][1] = 'new-31bfe1c2-ad6d-43bf-9abf-1da110424deb';
+  $pane = new stdClass();
+  $pane->pid = 'new-5c424baf-2ef8-471e-a7f5-d8a5d8048b59';
+  $pane->panel = 'right';
+  $pane->type = 'entity_field';
+  $pane->subtype = 'node:field_eclairages';
+  $pane->shown = TRUE;
+  $pane->access = array();
+  $pane->configuration = array(
+    'label' => 'hidden',
+    'formatter' => 'entityreference_entity_view',
+    'delta_limit' => '0',
+    'delta_offset' => '0',
+    'delta_reversed' => 0,
+    'formatter_settings' => array(
+      'view_mode' => 'teaser',
+      'links' => 0,
+      'use_content_language' => 0,
+    ),
+    'context' => 'requiredcontext_entity:node_1',
+    'override_title' => 0,
+    'override_title_text' => '',
+    'override_title_heading' => 'h2',
+  );
+  $pane->cache = array();
+  $pane->style = array(
+    'settings' => NULL,
+  );
+  $pane->css = array();
+  $pane->extras = array();
+  $pane->position = 0;
+  $pane->locks = array();
+  $pane->uuid = '5c424baf-2ef8-471e-a7f5-d8a5d8048b59';
+  $display->content['new-5c424baf-2ef8-471e-a7f5-d8a5d8048b59'] = $pane;
+  $display->panels['right'][0] = 'new-5c424baf-2ef8-471e-a7f5-d8a5d8048b59';
+  $display->hide_title = PANELS_TITLE_FIXED;
+  $display->title_pane = 'new-3d79c2a1-ab4e-4a2d-a4d6-3a3960f7ae93';
+  $mini->display = $display;
+  $export['th_matique'] = $mini;
+
+  return $export;
+}

+ 52 - 2
sites/all/modules/features/clameurs/clameurs.strongarm.inc

@@ -28,7 +28,20 @@ function clameurs_strongarm() {
           'weight' => '9',
         ),
       ),
-      'display' => array(),
+      'display' => array(
+        'workflow_current_state' => array(
+          'teaser' => array(
+            'weight' => '3',
+            'visible' => FALSE,
+          ),
+        ),
+        'workflow' => array(
+          'teaser' => array(
+            'weight' => '4',
+            'visible' => FALSE,
+          ),
+        ),
+      ),
     ),
   );
   $export['field_bundle_settings_node__documentair'] = $strongarm;
@@ -51,7 +64,20 @@ function clameurs_strongarm() {
           'weight' => '5',
         ),
       ),
-      'display' => array(),
+      'display' => array(
+        'workflow_current_state' => array(
+          'teaser' => array(
+            'weight' => '3',
+            'visible' => FALSE,
+          ),
+        ),
+        'workflow' => array(
+          'teaser' => array(
+            'weight' => '4',
+            'visible' => FALSE,
+          ),
+        ),
+      ),
     ),
   );
   $export['field_bundle_settings_node__episode'] = $strongarm;
@@ -73,6 +99,9 @@ function clameurs_strongarm() {
         'redirect' => array(
           'weight' => '3',
         ),
+        'workflow' => array(
+          'weight' => '99',
+        ),
       ),
       'display' => array(),
     ),
@@ -211,5 +240,26 @@ function clameurs_strongarm() {
   $strongarm->value = 0;
   $export['node_submitted_thematique'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_documentair_pattern';
+  $strongarm->value = '';
+  $export['pathauto_node_documentair_pattern'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_episode_pattern';
+  $strongarm->value = '';
+  $export['pathauto_node_episode_pattern'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_thematique_pattern';
+  $strongarm->value = '';
+  $export['pathauto_node_thematique_pattern'] = $strongarm;
+
   return $export;
 }