updated chapitre feature

changed field order for a better facebook sharing
This commit is contained in:
Bachir Soussi Chiadmi
2015-05-12 16:55:54 +02:00
parent faf4573c53
commit 83a28c5dc3
2 changed files with 16 additions and 6 deletions
@@ -272,6 +272,16 @@ function chapitre_field_default_field_instances() {
'active' => 1, 'active' => 1,
'module' => 'image', 'module' => 'image',
'settings' => array( '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', 'preview_image_style' => 'thumbnail',
'progress_indicator' => 'throbber', 'progress_indicator' => 'throbber',
), ),
@@ -353,7 +363,7 @@ function chapitre_field_default_field_instances() {
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'type' => 'text_default', 'type' => 'text_default',
'weight' => 2, 'weight' => 3,
), ),
'teaser' => array( 'teaser' => array(
'label' => 'above', 'label' => 'above',
@@ -405,7 +415,7 @@ function chapitre_field_default_field_instances() {
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'type' => 'text_default', 'type' => 'text_default',
'weight' => 3, 'weight' => 1,
), ),
'teaser' => array( 'teaser' => array(
'label' => 'hidden', 'label' => 'hidden',
@@ -457,7 +467,7 @@ function chapitre_field_default_field_instances() {
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'type' => 'text_default', 'type' => 'text_default',
'weight' => 1, 'weight' => 2,
), ),
'teaser' => array( 'teaser' => array(
'label' => 'above', 'label' => 'above',
@@ -14,7 +14,7 @@ function chapitre_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'additional_settings__active_tab_chapitre'; $strongarm->name = 'additional_settings__active_tab_chapitre';
$strongarm->value = 'edit-extras'; $strongarm->value = 'edit-workflow';
$export['additional_settings__active_tab_chapitre'] = $strongarm; $export['additional_settings__active_tab_chapitre'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
@@ -148,7 +148,7 @@ function chapitre_strongarm() {
'display' => array( 'display' => array(
'workflow_current_state' => array( 'workflow_current_state' => array(
'default' => array( 'default' => array(
'weight' => '5', 'weight' => '7',
'visible' => FALSE, 'visible' => FALSE,
), ),
'teaser' => array( 'teaser' => array(
@@ -162,7 +162,7 @@ function chapitre_strongarm() {
), ),
'workflow' => array( 'workflow' => array(
'default' => array( 'default' => array(
'weight' => '4', 'weight' => '6',
'visible' => FALSE, 'visible' => FALSE,
), ),
'teaser' => array( 'teaser' => array(