From 1bcda42052dea0c950f824410018c84d8708d074 Mon Sep 17 00:00:00 2001 From: bachy Date: Thu, 31 Jan 2013 14:29:37 +0100 Subject: [PATCH] display field localization Signed-off-by: bachy --- .../materio_content_types.features.field.inc | 36 ++++++++++--------- .../materio_content_types.field_group.inc | 12 ++++--- 2 files changed, 28 insertions(+), 20 deletions(-) diff --git a/materio_content_types/materio_content_types.features.field.inc b/materio_content_types/materio_content_types.features.field.inc index 83f95ea9..572e34d1 100644 --- a/materio_content_types/materio_content_types.features.field.inc +++ b/materio_content_types/materio_content_types.features.field.inc @@ -3797,28 +3797,32 @@ foreach ($states as $state) { 'weight' => '17', ), 'cardbig' => array( - 'label' => 'above', + 'label' => 'hidden', + 'module' => 'text', 'settings' => array(), - 'type' => 'hidden', - 'weight' => '12', + 'type' => 'text_default', + 'weight' => '8', ), 'cardfull' => array( - 'label' => 'above', + 'label' => 'hidden', + 'module' => 'text', 'settings' => array(), - 'type' => 'hidden', - 'weight' => '10', + 'type' => 'text_default', + 'weight' => '19', ), 'cardmedium' => array( - 'label' => 'above', + 'label' => 'hidden', + 'module' => 'text', 'settings' => array(), - 'type' => 'hidden', - 'weight' => '10', + 'type' => 'text_default', + 'weight' => '21', ), 'cardsmall' => array( - 'label' => 'above', + 'label' => 'hidden', + 'module' => 'text', 'settings' => array(), - 'type' => 'hidden', - 'weight' => '14', + 'type' => 'text_plain', + 'weight' => '8', ), 'default' => array( 'label' => 'hidden', @@ -4557,14 +4561,14 @@ foreach ($states as $state) { 'module' => 'computed_field', 'settings' => array(), 'type' => 'computed_field_plain', - 'weight' => '17', + 'weight' => '20', ), 'cardsmall' => array( 'label' => 'hidden', 'module' => 'computed_field', 'settings' => array(), 'type' => 'computed_field_plain', - 'weight' => '4', + 'weight' => '7', ), 'default' => array( 'label' => 'above', @@ -4895,7 +4899,7 @@ foreach ($states as $state) { 'label' => 'above', 'settings' => array(), 'type' => 'hidden', - 'weight' => 0, + 'weight' => '0', ), 'cardmedium' => array( 'label' => 'above', @@ -4907,7 +4911,7 @@ foreach ($states as $state) { 'label' => 'above', 'settings' => array(), 'type' => 'hidden', - 'weight' => 0, + 'weight' => '0', ), 'default' => array( 'label' => 'above', diff --git a/materio_content_types/materio_content_types.field_group.inc b/materio_content_types/materio_content_types.field_group.inc index 0f674ad6..d0faefa4 100644 --- a/materio_content_types/materio_content_types.field_group.inc +++ b/materio_content_types/materio_content_types.field_group.inc @@ -365,7 +365,8 @@ function materio_content_types_field_group_info() { 'children' => array( 0 => 'field_nature_titre', 1 => 'title_field', - 2 => 'field_reference_materio', + 2 => 'field_localisation', + 3 => 'field_reference_materio', ), 'format_type' => 'div', 'format_settings' => array( @@ -398,7 +399,8 @@ function materio_content_types_field_group_info() { 'children' => array( 0 => 'field_nature_titre', 1 => 'title_field', - 2 => 'field_reference_materio', + 2 => 'field_localisation', + 3 => 'field_reference_materio', ), 'format_type' => 'div', 'format_settings' => array( @@ -431,7 +433,8 @@ function materio_content_types_field_group_info() { 'children' => array( 0 => 'field_nature_titre', 1 => 'title_field', - 2 => 'field_reference_materio', + 2 => 'field_localisation', + 3 => 'field_reference_materio', ), 'format_type' => 'div', 'format_settings' => array( @@ -464,7 +467,8 @@ function materio_content_types_field_group_info() { 'children' => array( 0 => 'field_nature_titre', 1 => 'title_field', - 2 => 'field_reference_materio', + 2 => 'field_localisation', + 3 => 'field_reference_materio', ), 'format_type' => 'div', 'format_settings' => array(