Browse Source

updated video thumb display style

Bachir Soussi Chiadmi 7 years ago
parent
commit
65f6be158a

+ 20 - 16
sites/all/modules/features/admin/admin.features.inc

@@ -22,28 +22,32 @@ function admin_default_Workflow() {
     },
     "states" : {
       "(creation)" : {"weight":"-50","sysid":"1","state":"(creation)","status":"1","name":"(creation)"},
-      "brouillon" : {"weight":"-20","sysid":"0","state":"Brouillon","status":"1","name":"brouillon"},
-      "en_attente" : {"weight":"-20","sysid":"0","state":"En attente","status":"1","name":"en_attente"},
-      "publie" : {"weight":"-20","sysid":"0","state":"Publi\\u00e9","status":"1","name":"publie"}
+      "brouillon" : {"weight":"-19","sysid":"0","state":"Brouillon","status":"1","name":"brouillon"},
+      "en_attente" : {"weight":"-18","sysid":"0","state":"En attente","status":"1","name":"en_attente"},
+      "publie" : {"weight":"-17","sysid":"0","state":"Publi\\u00e9","status":"1","name":"publie"}
     },
     "transitions" : {
-      "_creation_to_brouillon" : {"roles":{"-1":"-1"},"name":"_creation_to_brouillon","label":"","start_state":"(creation)","end_state":"brouillon"},
-      "_creation_to_en_attente" : {"roles":[],"name":"_creation_to_en_attente","label":"","start_state":"(creation)","end_state":"en_attente"},
-      "_creation_to_publie" : {"roles":[],"name":"_creation_to_publie","label":"","start_state":"(creation)","end_state":"publie"},
-      "brouillon_to_en_attente" : {"roles":{"-1":"-1"},"name":"brouillon_to_en_attente","label":"","start_state":"brouillon","end_state":"en_attente"},
-      "en_attente_to_brouillon" : {"roles":{"-1":"-1"},"name":"en_attente_to_brouillon","label":"","start_state":"en_attente","end_state":"brouillon"},
-      "en_attente_to_publie" : {"roles":{"-1":"-1"},"name":"en_attente_to_publie","label":"","start_state":"en_attente","end_state":"publie"},
-      "publie_to_brouillon" : {"roles":{"-1":"-1"},"name":"publie_to_brouillon","label":"","start_state":"publie","end_state":"brouillon"},
-      "publie_to_en_attente" : {"roles":{"-1":"-1"},"name":"publie_to_en_attente","label":"","start_state":"publie","end_state":"en_attente"}
+      "_creation_to_brouillon" : {"roles":{"-1":-1,"3":3,"4":4},"name":"_creation_to_brouillon","label":"","start_state":"(creation)","end_state":"brouillon"},
+      "_creation_to_en_attente" : {"roles":{"3":3,"4":4},"name":"_creation_to_en_attente","label":"","start_state":"(creation)","end_state":"en_attente"},
+      "_creation_to_publie" : {"roles":{"3":3,"4":4},"name":"_creation_to_publie","label":"","start_state":"(creation)","end_state":"publie"},
+      "brouillon_to_brouillon" : {"roles":{"-1":-1,"3":3,"4":4},"name":"brouillon_to_brouillon","label":"","start_state":"brouillon","end_state":"brouillon"},
+      "brouillon_to_en_attente" : {"roles":{"3":3,"4":4},"name":"brouillon_to_en_attente","label":"","start_state":"brouillon","end_state":"en_attente"},
+      "brouillon_to_publie" : {"roles":{"3":3,"4":4},"name":"brouillon_to_publie","label":"","start_state":"brouillon","end_state":"publie"},
+      "en_attente_to_brouillon" : {"roles":{"-1":-1,"3":3,"4":4},"name":"en_attente_to_brouillon","label":"","start_state":"en_attente","end_state":"brouillon"},
+      "en_attente_to_en_attente" : {"roles":{"-1":-1,"3":3,"4":4},"name":"en_attente_to_en_attente","label":"","start_state":"en_attente","end_state":"en_attente"},
+      "en_attente_to_publie" : {"roles":{"3":3,"4":4},"name":"en_attente_to_publie","label":"","start_state":"en_attente","end_state":"publie"},
+      "publie_to_brouillon" : {"roles":{"3":3,"4":4},"name":"publie_to_brouillon","label":"","start_state":"publie","end_state":"brouillon"},
+      "publie_to_en_attente" : {"roles":{"3":3,"4":4},"name":"publie_to_en_attente","label":"","start_state":"publie","end_state":"en_attente"},
+      "publie_to_publie" : {"roles":{"-1":-1,"3":3,"4":4},"name":"publie_to_publie","label":"","start_state":"publie","end_state":"publie"}
     },
     "label" : "Publication",
     "typeMap" : [ "documentair", "episode", "page", "thematique" ],
     "system_roles" : {
-      "-1" : "(auteur)",
-      "1" : "utilisateur anonyme",
-      "2" : "utilisateur authentifi\\u00e9",
-      "3" : "administrateur",
-      "4" : "racine"
+      "-1" : "(author)",
+      "1" : "anonymous user",
+      "2" : "authenticated user",
+      "3" : "administrator",
+      "4" : "root"
     }
   }');
 

+ 0 - 6
sites/all/modules/features/admin/admin.features.menu_links.inc

@@ -28,7 +28,6 @@ function admin_menu_default_menu_links() {
     'customized' => 1,
     'language' => 'und',
     'menu_links_customized' => 1,
-    'parent_identifier' => 'navigation_contenu:admin/content/nodes',
   );
   // Exported menu link: navigation_compose-tips:filter/tips.
   $menu_links['navigation_compose-tips:filter/tips'] = array(
@@ -111,7 +110,6 @@ function admin_menu_default_menu_links() {
     'customized' => 0,
     'language' => 'und',
     'menu_links_customized' => 0,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
   );
   // Exported menu link: navigation_log-out:user/logout.
   $menu_links['navigation_log-out:user/logout'] = array(
@@ -135,7 +133,6 @@ function admin_menu_default_menu_links() {
     'customized' => 1,
     'language' => 'und',
     'menu_links_customized' => 1,
-    'parent_identifier' => 'navigation_mon-compte:user',
   );
   // Exported menu link: navigation_media:admin/content/medias.
   $menu_links['navigation_media:admin/content/medias'] = array(
@@ -180,7 +177,6 @@ function admin_menu_default_menu_links() {
     'customized' => 0,
     'language' => 'und',
     'menu_links_customized' => 0,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
   );
   // Exported menu link: navigation_pisode:node/add/episode.
   $menu_links['navigation_pisode:node/add/episode'] = array(
@@ -200,7 +196,6 @@ function admin_menu_default_menu_links() {
     'customized' => 0,
     'language' => 'und',
     'menu_links_customized' => 0,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
   );
   // Exported menu link: navigation_thematique:node/add/thematique.
   $menu_links['navigation_thematique:node/add/thematique'] = array(
@@ -220,7 +215,6 @@ function admin_menu_default_menu_links() {
     'customized' => 0,
     'language' => 'und',
     'menu_links_customized' => 0,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
   );
   // Exported menu link: navigation_user-account:user.
   $menu_links['navigation_user-account:user'] = array(

+ 33 - 32
sites/all/modules/features/admin/admin.views_default.inc

@@ -165,11 +165,11 @@ function admin_views_default_views() {
     ),
   );
   $handler->display->display_options['style_options']['override'] = FALSE;
-  /* En-tête: Global : Result summary */
+  /* Header: Global: Result summary */
   $handler->display->display_options['header']['result']['id'] = 'result';
   $handler->display->display_options['header']['result']['table'] = 'views';
   $handler->display->display_options['header']['result']['field'] = 'result';
-  /* Champ: Opérations en masse : Contenu */
+  /* Field: Bulk operations: Content */
   $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
   $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
   $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
@@ -203,7 +203,7 @@ function admin_views_default_views() {
       'label' => '',
     ),
   );
-  /* Champ: Contenu : Video */
+  /* Field: Content: Video */
   $handler->display->display_options['fields']['field_emvideo']['id'] = 'field_emvideo';
   $handler->display->display_options['fields']['field_emvideo']['table'] = 'field_data_field_emvideo';
   $handler->display->display_options['fields']['field_emvideo']['field'] = 'field_emvideo';
@@ -213,19 +213,19 @@ function admin_views_default_views() {
     'image_style' => 'thumbnail',
     'image_link' => '',
   );
-  /* Champ: Contenu : Type */
+  /* Field: Content: Type */
   $handler->display->display_options['fields']['type']['id'] = 'type';
   $handler->display->display_options['fields']['type']['table'] = 'node';
   $handler->display->display_options['fields']['type']['field'] = 'type';
   $handler->display->display_options['fields']['type']['hide_alter_empty'] = FALSE;
-  /* Champ: Contenu : Titre */
+  /* Field: Content: Title */
   $handler->display->display_options['fields']['title']['id'] = 'title';
   $handler->display->display_options['fields']['title']['table'] = 'node';
   $handler->display->display_options['fields']['title']['field'] = 'title';
   $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
   $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
   $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
-  /* Champ: Contenu : Poid */
+  /* Field: Content: Poid */
   $handler->display->display_options['fields']['field_poid']['id'] = 'field_poid';
   $handler->display->display_options['fields']['field_poid']['table'] = 'field_data_field_poid';
   $handler->display->display_options['fields']['field_poid']['field'] = 'field_poid';
@@ -233,7 +233,7 @@ function admin_views_default_views() {
     'thousand_separator' => '',
     'prefix_suffix' => 1,
   );
-  /* Champ: Contenu : Lien de modification */
+  /* Field: Content: Edit link */
   $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
   $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
   $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
@@ -242,12 +242,12 @@ function admin_views_default_views() {
   $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
   $handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
   $handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = FALSE;
-  /* Champ: Workflow node : Current state ID */
+  /* Field: Workflow node: Current state ID */
   $handler->display->display_options['fields']['sid']['id'] = 'sid';
   $handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
   $handler->display->display_options['fields']['sid']['field'] = 'sid';
   $handler->display->display_options['fields']['sid']['label'] = 'Current state';
-  /* Champ: Workflow scheduled : Scheduled state Name */
+  /* Field: Workflow scheduled: Scheduled state Name */
   $handler->display->display_options['fields']['sid_1']['id'] = 'sid_1';
   $handler->display->display_options['fields']['sid_1']['table'] = 'workflow_scheduled_transition';
   $handler->display->display_options['fields']['sid_1']['field'] = 'sid';
@@ -255,7 +255,7 @@ function admin_views_default_views() {
   $handler->display->display_options['fields']['sid_1']['exclude'] = TRUE;
   $handler->display->display_options['fields']['sid_1']['alter']['text'] = '[sid_1] : [scheduled]';
   $handler->display->display_options['fields']['sid_1']['hide_empty'] = TRUE;
-  /* Champ: Workflow scheduled : Scheduled time */
+  /* Field: Workflow scheduled: Scheduled time */
   $handler->display->display_options['fields']['scheduled']['id'] = 'scheduled';
   $handler->display->display_options['fields']['scheduled']['table'] = 'workflow_scheduled_transition';
   $handler->display->display_options['fields']['scheduled']['field'] = 'scheduled';
@@ -266,7 +266,7 @@ function admin_views_default_views() {
   $handler->display->display_options['fields']['scheduled']['date_format'] = 'custom';
   $handler->display->display_options['fields']['scheduled']['custom_date_format'] = 'd/m/Y h:m';
   $handler->display->display_options['fields']['scheduled']['second_date_format'] = 'long';
-  /* Champ: Contenu : Épisodes */
+  /* Field: Content: Épisodes */
   $handler->display->display_options['fields']['field_episodes']['id'] = 'field_episodes';
   $handler->display->display_options['fields']['field_episodes']['table'] = 'field_data_field_episodes';
   $handler->display->display_options['fields']['field_episodes']['field'] = 'field_episodes';
@@ -275,7 +275,7 @@ function admin_views_default_views() {
   );
   $handler->display->display_options['fields']['field_episodes']['delta_offset'] = '0';
   $handler->display->display_options['fields']['field_episodes']['multi_type'] = 'ol';
-  /* Champ: Contenu : éclairages */
+  /* Field: Content: éclairages */
   $handler->display->display_options['fields']['field_eclairages']['id'] = 'field_eclairages';
   $handler->display->display_options['fields']['field_eclairages']['table'] = 'field_data_field_eclairages';
   $handler->display->display_options['fields']['field_eclairages']['field'] = 'field_eclairages';
@@ -284,14 +284,14 @@ function admin_views_default_views() {
   );
   $handler->display->display_options['fields']['field_eclairages']['delta_offset'] = '0';
   $handler->display->display_options['fields']['field_eclairages']['multi_type'] = 'ol';
-  /* Champ: Contenu : Thématique */
+  /* Field: Content: Thématique */
   $handler->display->display_options['fields']['field_thematique']['id'] = 'field_thematique';
   $handler->display->display_options['fields']['field_thematique']['table'] = 'field_data_field_thematique';
   $handler->display->display_options['fields']['field_thematique']['field'] = 'field_thematique';
   $handler->display->display_options['fields']['field_thematique']['settings'] = array(
     'link' => 1,
   );
-  /* Champ: Traduction du contenu : Lien de traduction */
+  /* Field: Content translation: Translate link */
   $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
   $handler->display->display_options['fields']['translate_node']['table'] = 'node';
   $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
@@ -299,12 +299,12 @@ function admin_views_default_views() {
   $handler->display->display_options['fields']['translate_node']['alter']['text'] = '<span class="button">[translate_node]</span>';
   $handler->display->display_options['fields']['translate_node']['hide_empty'] = TRUE;
   $handler->display->display_options['fields']['translate_node']['text'] = 'traduire';
-  /* Champ: Contenu : Date de mise à jour */
+  /* Field: Content: Updated date */
   $handler->display->display_options['fields']['changed']['id'] = 'changed';
   $handler->display->display_options['fields']['changed']['table'] = 'node';
   $handler->display->display_options['fields']['changed']['field'] = 'changed';
   $handler->display->display_options['fields']['changed']['date_format'] = 'short';
-  /* Champ: Contenu : Lien de suppression */
+  /* Field: Content: Delete link */
   $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
   $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
   $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
@@ -317,7 +317,7 @@ function admin_views_default_views() {
     1 => 'AND',
     2 => 'AND',
   );
-  /* Critère de filtrage: Contenu : Type */
+  /* Filter criterion: Content: Type */
   $handler->display->display_options['filters']['type']['id'] = 'type';
   $handler->display->display_options['filters']['type']['table'] = 'node';
   $handler->display->display_options['filters']['type']['field'] = 'type';
@@ -341,7 +341,7 @@ function admin_views_default_views() {
     4 => 0,
   );
   $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
-  /* Critère de filtrage: current user can update */
+  /* Filter criterion: current user can update */
   $handler->display->display_options['filters']['php']['id'] = 'php';
   $handler->display->display_options['filters']['php']['table'] = 'views';
   $handler->display->display_options['filters']['php']['field'] = 'php';
@@ -352,7 +352,7 @@ function admin_views_default_views() {
 //dsm($data);
 return !(node_access(\'update\', node_load($data->nid), $user));
 ';
-  /* Critère de filtrage: Workflow node : Current state ID */
+  /* Filter criterion: Workflow node: Current state ID */
   $handler->display->display_options['filters']['sid']['id'] = 'sid';
   $handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
   $handler->display->display_options['filters']['sid']['field'] = 'sid';
@@ -402,19 +402,19 @@ return !(node_access(\'update\', node_load($data->nid), $user));
   $handler->display->display_options['pager']['options']['items_per_page'] = '10';
   $handler->display->display_options['pager']['options']['offset'] = '0';
   $handler->display->display_options['defaults']['fields'] = FALSE;
-  /* Champ: Contenu : Type */
+  /* Field: Content: Type */
   $handler->display->display_options['fields']['type']['id'] = 'type';
   $handler->display->display_options['fields']['type']['table'] = 'node';
   $handler->display->display_options['fields']['type']['field'] = 'type';
   $handler->display->display_options['fields']['type']['hide_alter_empty'] = FALSE;
-  /* Champ: Contenu : Titre */
+  /* Field: Content: Title */
   $handler->display->display_options['fields']['title']['id'] = 'title';
   $handler->display->display_options['fields']['title']['table'] = 'node';
   $handler->display->display_options['fields']['title']['field'] = 'title';
   $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
   $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
   $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
-  /* Champ: Contenu : Lien de modification */
+  /* Field: Content: Edit link */
   $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
   $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
   $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
@@ -422,20 +422,20 @@ return !(node_access(\'update\', node_load($data->nid), $user));
   $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
   $handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
   $handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = FALSE;
-  /* Champ: Contenu : Publié */
+  /* Field: Content: Published */
   $handler->display->display_options['fields']['status']['id'] = 'status';
   $handler->display->display_options['fields']['status']['table'] = 'node';
   $handler->display->display_options['fields']['status']['field'] = 'status';
   $handler->display->display_options['fields']['status']['element_label_colon'] = FALSE;
   $handler->display->display_options['fields']['status']['hide_alter_empty'] = FALSE;
   $handler->display->display_options['fields']['status']['not'] = 0;
-  /* Champ: Contenu : Langue */
+  /* Field: Content: Language */
   $handler->display->display_options['fields']['language']['id'] = 'language';
   $handler->display->display_options['fields']['language']['table'] = 'node';
   $handler->display->display_options['fields']['language']['field'] = 'language';
   $handler->display->display_options['fields']['language']['element_label_colon'] = FALSE;
   $handler->display->display_options['fields']['language']['hide_alter_empty'] = FALSE;
-  /* Champ: Traduction du contenu : Lien de traduction */
+  /* Field: Content translation: Translate link */
   $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
   $handler->display->display_options['fields']['translate_node']['table'] = 'node';
   $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
@@ -459,10 +459,10 @@ return !(node_access(\'update\', node_load($data->nid), $user));
     t('suivant ›'),
     t('dernier »'),
     t('Displaying @start - @end of @total'),
-    t('- Choisir une opération -'),
+    t('- Choose an operation -'),
     t('Video'),
     t('Type'),
-    t('Titre'),
+    t('Title'),
     t('Poid'),
     t('<span class="node-edit">[edit_node]</span>'),
     t('Current state'),
@@ -472,19 +472,20 @@ return !(node_access(\'update\', node_load($data->nid), $user));
     t('Épisodes'),
     t('éclairages'),
     t('Thématique'),
-    t('Lien de traduction'),
+    t('Translate link'),
     t('<span class="button">[translate_node]</span>'),
     t('traduire'),
-    t('Date de mise à jour'),
-    t('Lien de suppression'),
+    t('Updated date'),
+    t('Delete link'),
     t('<span class="node-delete">[delete_node]</span>'),
     t('supprimer'),
     t('Page : all'),
+    t('more'),
     t('Block'),
     t('Recent Content'),
     t('Modifier'),
-    t('Publié'),
-    t('Langue'),
+    t('Published'),
+    t('Language'),
     t('Traduire'),
   );
   $export['admin_contents'] = $view;

+ 212 - 0
sites/all/modules/features/clameurs/clameurs.features.field_instance.inc

@@ -223,6 +223,109 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
+  // Exported field_instance: 'node-documentair-body'.
+  $field_instances['node-documentair-body'] = array(
+    'bundle' => 'documentair',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'accueil' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 2,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(
+          'trim_length' => 600,
+        ),
+        'type' => 'text_summary_or_trimmed',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'body',
+    'label' => 'Body',
+    'required' => FALSE,
+    'settings' => array(
+      'display_summary' => TRUE,
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 20,
+        'summary_rows' => 5,
+      ),
+      'type' => 'text_textarea_with_summary',
+      'weight' => 5,
+    ),
+  );
+
+  // Exported field_instance: 'node-documentair-field_description'.
+  $field_instances['node-documentair-field_description'] = array(
+    'bundle' => 'documentair',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'accueil' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 4,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_description',
+    'label' => 'Description',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 5,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 103,
+    ),
+  );
+
   // Exported field_instance: 'node-documentair-field_doc'.
   $field_instances['node-documentair-field_doc'] = array(
     'bundle' => 'documentair',
@@ -447,6 +550,115 @@ function clameurs_field_default_field_instances() {
     ),
   );
 
+  // Exported field_instance: 'node-episode-body'.
+  $field_instances['node-episode-body'] = array(
+    'bundle' => 'episode',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'accueil' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(
+          'trim_length' => 600,
+        ),
+        'type' => 'text_summary_or_trimmed',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'body',
+    'label' => 'Body',
+    'required' => 0,
+    'settings' => array(
+      'display_summary' => 1,
+      'entity_translation_sync' => FALSE,
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 20,
+        'summary_rows' => 5,
+      ),
+      'type' => 'text_textarea_with_summary',
+      'weight' => 2,
+    ),
+  );
+
+  // Exported field_instance: 'node-episode-field_description'.
+  $field_instances['node-episode-field_description'] = array(
+    'bundle' => 'episode',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'accueil' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_description',
+    'label' => 'Description',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 5,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 103,
+    ),
+  );
+
   // Exported field_instance: 'node-episode-field_emvideo'.
   $field_instances['node-episode-field_emvideo'] = array(
     'bundle' => 'episode',

+ 16 - 19
sites/all/modules/features/clameurs/clameurs.features.inc

@@ -59,16 +59,15 @@ function clameurs_image_default_styles() {
   $styles['video_thumb_docu'] = array(
     'label' => 'video_thumb_docu',
     'effects' => array(
-      6 => array(
-        'name' => 'image_scale',
+      11 => array(
+        'name' => 'image_scale_and_crop',
         'data' => array(
           'width' => 300,
           'height' => 160,
-          'upscale' => 0,
         ),
-        'weight' => 1,
+        'weight' => -9,
       ),
-      7 => array(
+      10 => array(
         'name' => 'canvasactions_file2canvas',
         'data' => array(
           'xpos' => 'center',
@@ -77,7 +76,7 @@ function clameurs_image_default_styles() {
           'scale' => '',
           'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
         ),
-        'weight' => 2,
+        'weight' => -8,
       ),
     ),
   );
@@ -86,16 +85,15 @@ function clameurs_image_default_styles() {
   $styles['video_thumb_episode'] = array(
     'label' => 'video_thumb_episode',
     'effects' => array(
-      8 => array(
-        'name' => 'image_scale',
+      14 => array(
+        'name' => 'image_scale_and_crop',
         'data' => array(
           'width' => 200,
           'height' => 111,
-          'upscale' => 0,
         ),
-        'weight' => 1,
+        'weight' => -9,
       ),
-      9 => array(
+      13 => array(
         'name' => 'canvasactions_file2canvas',
         'data' => array(
           'xpos' => 'center',
@@ -104,7 +102,7 @@ function clameurs_image_default_styles() {
           'scale' => '',
           'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
         ),
-        'weight' => 2,
+        'weight' => -8,
       ),
     ),
   );
@@ -113,16 +111,15 @@ function clameurs_image_default_styles() {
   $styles['video_thumb_themat'] = array(
     'label' => 'video_thumb_themat',
     'effects' => array(
-      4 => array(
-        'name' => 'image_scale',
+      8 => array(
+        'name' => 'image_scale_and_crop',
         'data' => array(
           'width' => 760,
-          'height' => 430,
-          'upscale' => 0,
+          'height' => 428,
         ),
-        'weight' => 1,
+        'weight' => -9,
       ),
-      5 => array(
+      2 => array(
         'name' => 'canvasactions_file2canvas',
         'data' => array(
           'xpos' => 'center',
@@ -131,7 +128,7 @@ function clameurs_image_default_styles() {
           'scale' => '',
           'path' => 'sites/all/themes/figureslibres/clameurs/images/video_overlay.png',
         ),
-        'weight' => 2,
+        'weight' => -8,
       ),
     ),
   );

+ 6 - 6
sites/all/modules/features/clameurs/clameurs.field_group.inc

@@ -154,7 +154,7 @@ function clameurs_field_group_info() {
   $field_groups['group_episodes|node|thematique|form'] = $field_group;
 
   $field_group = new stdClass();
-  $field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
+  $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_htabs|node|documentair|form';
   $field_group->group_name = 'group_htabs';
@@ -180,7 +180,7 @@ function clameurs_field_group_info() {
   $field_groups['group_htabs|node|documentair|form'] = $field_group;
 
   $field_group = new stdClass();
-  $field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
+  $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_htabs|node|episode|form';
   $field_group->group_name = 'group_htabs';
@@ -289,7 +289,7 @@ function clameurs_field_group_info() {
   $field_groups['group_right|node|thematique|accueil'] = $field_group;
 
   $field_group = new stdClass();
-  $field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
+  $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_texte|node|documentair|form';
   $field_group->group_name = 'group_texte';
@@ -317,7 +317,7 @@ function clameurs_field_group_info() {
   $field_groups['group_texte|node|documentair|form'] = $field_group;
 
   $field_group = new stdClass();
-  $field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
+  $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_texte|node|episode|form';
   $field_group->group_name = 'group_texte';
@@ -501,7 +501,7 @@ function clameurs_field_group_info() {
   $field_groups['group_video|node|documentair|accueil'] = $field_group;
 
   $field_group = new stdClass();
-  $field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
+  $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_video|node|documentair|form';
   $field_group->group_name = 'group_video';
@@ -563,7 +563,7 @@ function clameurs_field_group_info() {
   $field_groups['group_video|node|episode|accueil'] = $field_group;
 
   $field_group = new stdClass();
-  $field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
+  $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_video|node|episode|form';
   $field_group->group_name = 'group_video';

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

@@ -99,10 +99,14 @@ 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
 features[field_instance][] = node-documentair-field_emvideo
 features[field_instance][] = node-documentair-field_thematique
 features[field_instance][] = node-documentair-title_field
+features[field_instance][] = node-episode-body
+features[field_instance][] = node-episode-field_description
 features[field_instance][] = node-episode-field_emvideo
 features[field_instance][] = node-episode-field_habiter
 features[field_instance][] = node-episode-field_thematique

+ 4 - 1
sites/all/modules/features/clameurs/clameurs.pages_default.inc

@@ -16,7 +16,10 @@ function clameurs_default_page_manager_pages() {
   $page->admin_title = 'Home';
   $page->admin_description = 'Home for onepage clameurs website';
   $page->path = 'home';
-  $page->access = array();
+  $page->access = array(
+    'type' => 'none',
+    'settings' => NULL,
+  );
   $page->menu = array();
   $page->arguments = array();
   $page->conf = array(

+ 0 - 3
sites/all/modules/features/page/page.features.field_base.inc

@@ -19,9 +19,6 @@ function page_field_default_field_bases() {
       0 => 'node',
     ),
     'field_name' => 'body',
-    'field_permissions' => array(
-      'type' => 0,
-    ),
     'indexes' => array(
       'format' => array(
         0 => 'format',

+ 12 - 7
sites/all/themes/figureslibres/clameurs/css/dist/styles.css

@@ -154,7 +154,8 @@ input {
     .node-thematique .content article.main {
       display: inline-block;
       vertical-align: top;
-      width: 69.5%; }
+      width: 69.5%;
+      overflow: hidden; }
       .node-thematique .content article.main .field-name-body {
         position: relative;
         z-index: 3; }
@@ -162,22 +163,26 @@ input {
           padding: 0 1em 0 0.2em; }
         .node-thematique .content article.main .field-name-body .summary {
           position: relative;
-          height: 141px;
-          overflow: hidden; }
+          height: 5.75em;
+          overflow: hidden;
+          background-color: transparent;
+          transition: background-color 0.5 ease-in-out; }
           .node-thematique .content article.main .field-name-body .summary p {
             font-size: 1.3em; }
         .node-thematique .content article.main .field-name-body .value {
           position: absolute;
-          height: 0;
+          height: 1px;
           margin-bottom: 0;
-          transition: height,margin-bottom 0.5s ease-in-out;
+          transition: height 0.5s ease-in-out;
           background-color: #fff;
           overflow: hidden; }
+          .node-thematique .content article.main .field-name-body .value p {
+            font-size: 1em;
+            padding: 0.5em; }
         .node-thematique .content article.main .field-name-body:hover .summary {
           background-color: #fff; }
         .node-thematique .content article.main .field-name-body:hover .value {
-          height: 400px;
-          margin-bottom: 1em; }
+          height: 700px; }
         .node-thematique .content article.main .field-name-body p {
           padding: 0 0 1em;
           margin: 0; }

+ 10 - 4
sites/all/themes/figureslibres/clameurs/css/styles.scss

@@ -202,27 +202,33 @@ body{
 			display: inline-block;
 			vertical-align: top;
 			width:$main_w;
+			overflow: hidden;
 			.field-name-body{
 				position: relative; z-index: 3;
 				>*{padding:0 1em 0 0.2em;}
 				.summary{
 					position: relative;
-					height:141px; overflow: hidden;
+					height:5.75em; overflow: hidden;
+					background-color: transparent;
+					transition: background-color 0.5 ease-in-out;
 					p{
 						font-size: 1.3em;
 					}
 				}
 				.value{
 					position:absolute;
-					height:0; margin-bottom: 0;
-					transition:height,margin-bottom 0.5s ease-in-out;
+					height:1px; margin-bottom: 0;
+					transition:height 0.5s ease-in-out;
 					background-color: #fff;
 					overflow: hidden;
+					p{
+						font-size: 1em; padding: 0.5em;
+					}
 				}
 				&:hover{
 					.summary{background-color: #fff;}
 					.value{
-						height:400px; margin-bottom: 1em;
+						height:700px;
 					}
 				}
 				p{padding:0 0 1em; margin: 0;}