Browse Source

removed video description field from docu and episode

Bachir Soussi Chiadmi 7 years ago
parent
commit
484c236301

+ 4 - 112
sites/all/modules/features/clameurs/clameurs.features.field_instance.inc

@@ -223,57 +223,6 @@ 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_doc'.
   $field_instances['node-documentair-field_doc'] = array(
     'bundle' => 'documentair',
@@ -395,7 +344,7 @@ function clameurs_field_default_field_instances() {
       'module' => 'video_embed_field',
       'settings' => array(),
       'type' => 'video_embed_field_video',
-      'weight' => 101,
+      'weight' => 4,
     ),
   );
 
@@ -495,64 +444,7 @@ function clameurs_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => -5,
-    ),
-  );
-
-  // 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,
+      'weight' => 0,
     ),
   );
 
@@ -620,7 +512,7 @@ function clameurs_field_default_field_instances() {
       'module' => 'video_embed_field',
       'settings' => array(),
       'type' => 'video_embed_field_video',
-      'weight' => 101,
+      'weight' => 3,
     ),
   );
 
@@ -780,7 +672,7 @@ function clameurs_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => -5,
+      'weight' => 0,
     ),
   );
 

+ 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 = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->disabled = TRUE; /* 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 = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->disabled = TRUE; /* 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 = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->disabled = TRUE; /* 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 = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->disabled = TRUE; /* 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 = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->disabled = TRUE; /* 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 = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->disabled = TRUE; /* 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';

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

@@ -97,12 +97,10 @@ 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_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_emvideo
 features[field_instance][] = node-episode-field_habiter
 features[field_instance][] = node-episode-field_thematique

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

@@ -22,13 +22,13 @@ function clameurs_strongarm() {
           'weight' => '0',
         ),
         'path' => array(
-          'weight' => '8',
+          'weight' => '6',
         ),
         'redirect' => array(
-          'weight' => '9',
+          'weight' => '7',
         ),
         'workflow' => array(
-          'weight' => '99',
+          'weight' => '8',
         ),
       ),
       'display' => array(
@@ -69,13 +69,13 @@ function clameurs_strongarm() {
           'weight' => '0',
         ),
         'path' => array(
-          'weight' => '4',
+          'weight' => '5',
         ),
         'redirect' => array(
-          'weight' => '5',
+          'weight' => '6',
         ),
         'workflow' => array(
-          'weight' => '99',
+          'weight' => '7',
         ),
       ),
       'display' => array(