Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PORI-609 Contact card fields corrections #369

Open
wants to merge 1 commit into
base: epic/business-pori-ui
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,58 +19,10 @@ function kada_contact_information_feature_ds_field_settings_info() {
$ds_fieldsetting->view_mode = 'default';
$ds_fieldsetting->settings = array(
'add_position_link' => array(
'weight' => '10',
'label' => 'hidden',
'format' => 'default',
),
'positions_of_trust' => array(
'weight' => '9',
'label' => 'hidden',
'format' => 'default',
),
'field_email_single' => array(
'formatter_settings' => array(
'ft' => array(
'func' => 'theme_ds_field_expert',
'ow' => TRUE,
'ow-el' => 'div',
'ow-cl' => 'person__email',
'ow-def-cl' => FALSE,
'ow-at' => '',
'ow-def-at' => FALSE,
),
),
),
'field_first_name' => array(
'formatter_settings' => array(
'ft' => array(
'func' => 'theme_ds_field_expert',
'prefix' => '<h1 class="person__name">',
),
),
),
'field_person_image' => array(
'formatter_settings' => array(
'ft' => array(
'func' => 'theme_ds_field_expert',
'ow' => TRUE,
'ow-el' => 'div',
'ow-cl' => 'person__image',
'ow-def-cl' => FALSE,
'ow-at' => '',
'ow-def-at' => FALSE,
),
),
),
'field_surname' => array(
'formatter_settings' => array(
'ft' => array(
'func' => 'theme_ds_field_expert',
'prefix' => '&nbsp;',
'suffix' => '</h1>',
),
),
),
);
$export['node|person|default'] = $ds_fieldsetting;

Expand Down Expand Up @@ -369,20 +321,19 @@ function kada_contact_information_feature_ds_layout_settings_info() {
3 => 'field_email_single',
4 => 'group_htabs',
5 => 'field_profession',
6 => 'field_political_party',
7 => 'field_mobile_phone',
8 => 'positions_of_trust',
9 => 'add_position_link',
10 => 'field_employee_title',
11 => 'field_office_tr',
12 => 'field_task_description',
13 => 'field_superior',
14 => 'field_phone',
15 => 'field_mobile_phone_work',
16 => 'field_phone_switch',
17 => 'group_employee',
18 => 'group_trustee',
19 => 'field_fax_number',
6 => 'field_mobile_phone',
7 => 'field_political_party',
8 => 'add_position_link',
9 => 'field_employee_title',
10 => 'field_office_tr',
11 => 'field_task_description',
12 => 'field_superior',
13 => 'field_phone',
14 => 'field_mobile_phone_work',
15 => 'group_employee',
16 => 'group_trustee',
17 => 'field_phone_switch',
18 => 'field_fax_number',
),
),
'fields' => array(
Expand All @@ -392,19 +343,18 @@ function kada_contact_information_feature_ds_layout_settings_info() {
'field_email_single' => 'ds_content',
'group_htabs' => 'ds_content',
'field_profession' => 'ds_content',
'field_political_party' => 'ds_content',
'field_mobile_phone' => 'ds_content',
'positions_of_trust' => 'ds_content',
'field_political_party' => 'ds_content',
'add_position_link' => 'ds_content',
'field_employee_title' => 'ds_content',
'field_office_tr' => 'ds_content',
'field_task_description' => 'ds_content',
'field_superior' => 'ds_content',
'field_phone' => 'ds_content',
'field_mobile_phone_work' => 'ds_content',
'field_phone_switch' => 'ds_content',
'group_employee' => 'ds_content',
'group_trustee' => 'ds_content',
'field_phone_switch' => 'ds_content',
'field_fax_number' => 'ds_content',
),
'classes' => array(),
Expand All @@ -416,6 +366,7 @@ function kada_contact_information_feature_ds_layout_settings_info() {
'layout_attributes_merge' => 1,
'layout_link_attribute' => '',
'layout_link_custom' => '',
'layout_disable_css' => FALSE,
);
$export['node|person|default'] = $ds_layout;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 30,
'weight' => 32,
),
'full' => array(
'label' => 'above',
Expand Down Expand Up @@ -206,7 +206,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 16,
'weight' => 24,
),
'full' => array(
'label' => 'above',
Expand Down Expand Up @@ -495,7 +495,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 19,
'weight' => 20,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -740,7 +740,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 8,
'weight' => 7,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -863,7 +863,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 17,
'weight' => 18,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -985,7 +985,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 24,
'weight' => 28,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -1275,7 +1275,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 28,
'weight' => 31,
),
'full' => array(
'label' => 'above',
Expand Down Expand Up @@ -1467,7 +1467,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 18,
'weight' => 19,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -1594,7 +1594,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 7,
'weight' => 8,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -1686,7 +1686,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 25,
'weight' => 29,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -1918,7 +1918,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 23,
'weight' => 27,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -2359,7 +2359,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 26,
'weight' => 30,
),
'full' => array(
'label' => 'inline',
Expand Down Expand Up @@ -2472,7 +2472,7 @@ function kada_contact_information_feature_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 22,
'weight' => 26,
),
'full' => array(
'label' => 'above',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ function kada_contact_information_feature_field_group_info() {
1 => 'field_political_party',
2 => 'field_profession',
3 => 'add_position_link',
4 => 'positions_of_trust',
),
'format_type' => 'htab',
'format_settings' => array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,12 @@ function kada_contact_information_feature_strongarm() {
'waste_search' => array(
'custom_settings' => FALSE,
),
'current_twitter' => array(
'custom_settings' => FALSE,
),
'presentation' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(
Expand All @@ -454,7 +460,7 @@ function kada_contact_information_feature_strongarm() {
'display' => array(
'domain' => array(
'default' => array(
'weight' => '21',
'weight' => '25',
'visible' => FALSE,
),
'only_title' => array(
Expand Down Expand Up @@ -484,7 +490,7 @@ function kada_contact_information_feature_strongarm() {
),
'sharethis' => array(
'default' => array(
'weight' => '10',
'weight' => '23',
'visible' => FALSE,
),
'person_card_with_skills' => array(
Expand Down
Loading