浏览代码

updated chapitre feature
changed field order for a better facebook sharing

Bachir Soussi Chiadmi 9 年之前
父节点
当前提交
83a28c5dc3

+ 13 - 3
sites/all/modules/features/chapitre/chapitre.features.field_instance.inc

@@ -272,6 +272,16 @@ function chapitre_field_default_field_instances() {
       'active' => 1,
       'module' => 'image',
       'settings' => array(
+        'insert' => 0,
+        'insert_absolute' => FALSE,
+        'insert_class' => '',
+        'insert_default' => array(
+          0 => 'auto',
+        ),
+        'insert_styles' => array(
+          0 => 'auto',
+        ),
+        'insert_width' => '',
         'preview_image_style' => 'thumbnail',
         'progress_indicator' => 'throbber',
       ),
@@ -353,7 +363,7 @@ function chapitre_field_default_field_instances() {
         'module' => 'text',
         'settings' => array(),
         'type' => 'text_default',
-        'weight' => 2,
+        'weight' => 3,
       ),
       'teaser' => array(
         'label' => 'above',
@@ -405,7 +415,7 @@ function chapitre_field_default_field_instances() {
         'module' => 'text',
         'settings' => array(),
         'type' => 'text_default',
-        'weight' => 3,
+        'weight' => 1,
       ),
       'teaser' => array(
         'label' => 'hidden',
@@ -457,7 +467,7 @@ function chapitre_field_default_field_instances() {
         'module' => 'text',
         'settings' => array(),
         'type' => 'text_default',
-        'weight' => 1,
+        'weight' => 2,
       ),
       'teaser' => array(
         'label' => 'above',

+ 3 - 3
sites/all/modules/features/chapitre/chapitre.strongarm.inc

@@ -14,7 +14,7 @@ function chapitre_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'additional_settings__active_tab_chapitre';
-  $strongarm->value = 'edit-extras';
+  $strongarm->value = 'edit-workflow';
   $export['additional_settings__active_tab_chapitre'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -148,7 +148,7 @@ function chapitre_strongarm() {
       'display' => array(
         'workflow_current_state' => array(
           'default' => array(
-            'weight' => '5',
+            'weight' => '7',
             'visible' => FALSE,
           ),
           'teaser' => array(
@@ -162,7 +162,7 @@ function chapitre_strongarm() {
         ),
         'workflow' => array(
           'default' => array(
-            'weight' => '4',
+            'weight' => '6',
             'visible' => FALSE,
           ),
           'teaser' => array(