$content['type'] = array (
'name' => 'Imported Page',
'type' => 'csf1',
'description' => 'A regular page for this site. These pages were originally created as a result of consuming RSS feed of commonspot pages.
You can also use these pages for News items and for Procedures.',
'title_label' => 'Title',
'body_label' => 'Body',
'min_word_count' => '0',
'help' => '',
'node_options' =>
array (
'status' => true,
'promote' => true,
'revision' => true,
'sticky' => false,
),
'language_content_type' => '0',
'old_type' => 'csf1',
'orig_type' => '',
'module' => 'node',
'custom' => '1',
'modified' => '1',
'locked' => '0',
'comment' => '0',
'comment_default_mode' => '4',
'comment_default_order' => '1',
'comment_default_per_page' => '50',
'comment_controls' => '3',
'comment_anonymous' => 0,
'comment_subject_field' => '1',
'comment_preview' => '1',
'comment_form_location' => '0',
'xmlsitemap_node_type_priority' => '0.5',
'xmlsitemap_old_priority' => '0.5',
);
$content['groups'] = array (
0 =>
array (
'label' => 'Commonspot Migration',
'group_type' => 'standard',
'settings' =>
array (
'form' =>
array (
'style' => 'fieldset_collapsed',
'description' => 'Fields related to migration from commonspot',
),
'display' =>
array (
'description' => '',
'teaser' =>
array (
'format' => 'fieldset',
'exclude' => 0,
),
'full' =>
array (
'format' => 'fieldset',
'exclude' => 0,
),
4 =>
array (
'format' => 'fieldset',
'exclude' => 0,
),
'label' => 'above',
),
),
'weight' => '2',
'group_name' => 'group_commonspot',
),
);
$content['fields'] = array (
0 =>
array (
'label' => 'Commonspot Path',
'field_name' => 'field_cs_path',
'type' => 'text',
'widget_type' => 'text_textfield',
'change' => 'Change basic information',
'weight' => '-1',
'rows' => 5,
'size' => '60',
'description' => 'Subsite path in CommonSpot',
'default_value' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_path][0][value',
),
),
'default_value_php' => '',
'default_value_widget' => NULL,
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'text',
'widget_module' => 'text',
'columns' =>
array (
'value' =>
array (
'type' => 'text',
'size' => 'big',
'not null' => false,
'sortable' => true,
'views' => true,
),
),
'display_settings' =>
array (
'weight' => '-2',
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
1 =>
array (
'label' => 'Commonspot Filename',
'field_name' => 'field_cs_file',
'type' => 'text',
'widget_type' => 'text_textfield',
'change' => 'Change basic information',
'weight' => 0,
'rows' => 5,
'size' => '60',
'description' => 'Filename (without extension) from original page.',
'default_value' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_file][0][value',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_cs_file' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_file][0][value',
),
),
),
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'text',
'widget_module' => 'text',
'columns' =>
array (
'value' =>
array (
'type' => 'text',
'size' => 'big',
'not null' => false,
'sortable' => true,
'views' => true,
),
),
'display_settings' =>
array (
'weight' => '-1',
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
2 =>
array (
'label' => 'Commonspot Page ID',
'field_name' => 'field_cs_pageid',
'type' => 'number_integer',
'widget_type' => 'number',
'change' => 'Change basic information',
'weight' => '1',
'description' => 'ID number of page internal to Commonspot',
'default_value' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_pageid][0][value',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_cs_pageid' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_pageid][0][value',
),
),
),
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'min' => '',
'max' => '',
'prefix' => '',
'suffix' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'number',
'widget_module' => 'number',
'columns' =>
array (
'value' =>
array (
'type' => 'int',
'not null' => false,
'sortable' => true,
),
),
'display_settings' =>
array (
'weight' => 0,
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
3 =>
array (
'label' => 'Commonspot User ID',
'field_name' => 'field_cs_userid',
'type' => 'number_integer',
'widget_type' => 'number',
'change' => 'Change basic information',
'weight' => '2',
'description' => 'internal user id for commonspot',
'default_value' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_userid][0][value',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_cs_userid' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_userid][0][value',
),
),
),
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'min' => '',
'max' => '',
'prefix' => '',
'suffix' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'number',
'widget_module' => 'number',
'columns' =>
array (
'value' =>
array (
'type' => 'int',
'not null' => false,
'sortable' => true,
),
),
'display_settings' =>
array (
'weight' => '1',
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
4 =>
array (
'label' => 'Commonspot User Name',
'field_name' => 'field_cs_user',
'type' => 'text',
'widget_type' => 'text_textfield',
'change' => 'Change basic information',
'weight' => '3',
'rows' => 5,
'size' => '60',
'description' => 'Name and email address of creator in commonspot.',
'default_value' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_user][0][value',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_cs_user' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_user][0][value',
),
),
),
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'text',
'widget_module' => 'text',
'columns' =>
array (
'value' =>
array (
'type' => 'text',
'size' => 'big',
'not null' => false,
'sortable' => true,
'views' => true,
),
),
'display_settings' =>
array (
'weight' => '2',
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
5 =>
array (
'label' => 'Commonspot Upload',
'field_name' => 'field_cs_upload',
'type' => 'filefield',
'widget_type' => 'filefield_widget',
'change' => 'Change basic information',
'weight' => '4',
'file_extensions' => 'txt pdf doc ppt xls gif css mrc',
'progress_indicator' => 'bar',
'file_path' => 'cs_files/uploads',
'max_filesize_per_file' => '',
'max_filesize_per_node' => '',
'description' => '',
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'list_field' => '0',
'list_default' => 1,
'description_field' => '0',
'op' => 'Save field settings',
'module' => 'filefield',
'widget_module' => 'filefield',
'columns' =>
array (
'fid' =>
array (
'type' => 'int',
'not null' => false,
'views' => true,
),
'list' =>
array (
'type' => 'int',
'size' => 'tiny',
'not null' => false,
'views' => true,
),
'data' =>
array (
'type' => 'text',
'serialize' => true,
'views' => true,
),
),
'display_settings' =>
array (
'weight' => '3',
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 0,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
'token' =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
6 =>
array (
'label' => 'Commonspot Image',
'field_name' => 'field_cs_image',
'type' => 'filefield',
'widget_type' => 'imagefield_widget',
'change' => 'Change basic information',
'weight' => '5',
'file_extensions' => 'jpg jpeg png gif',
'progress_indicator' => 'bar',
'file_path' => 'cs_files/images',
'max_filesize_per_file' => '',
'max_filesize_per_node' => '',
'max_resolution' => 0,
'min_resolution' => 0,
'custom_alt' => 0,
'alt' => '',
'custom_title' => 0,
'title_type' => 'textfield',
'title' => '',
'use_default_image' => '',
'default_image_upload' => '',
'default_image' => NULL,
'description' => '',
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'list_field' => '1',
'list_default' => 1,
'description_field' => '1',
'op' => 'Save field settings',
'module' => 'filefield',
'widget_module' => 'imagefield',
'columns' =>
array (
'fid' =>
array (
'type' => 'int',
'not null' => false,
'views' => true,
),
'list' =>
array (
'type' => 'int',
'size' => 'tiny',
'not null' => false,
'views' => true,
),
'data' =>
array (
'type' => 'text',
'serialize' => true,
'views' => true,
),
),
'display_settings' =>
array (
'weight' => '4',
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'image_plain',
'exclude' => 0,
),
'full' =>
array (
'format' => 'image_plain',
'exclude' => 0,
),
4 =>
array (
'format' => 'image_plain',
'exclude' => 0,
),
'token' =>
array (
'format' => 'image_plain',
'exclude' => 0,
),
),
),
7 =>
array (
'label' => 'Commonspot Category',
'field_name' => 'field_cs_category',
'type' => 'text',
'widget_type' => 'text_textfield',
'change' => 'Change basic information',
'weight' => '6',
'rows' => 5,
'size' => '100',
'description' => '',
'default_value' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_category][0][value',
),
),
'default_value_php' => '',
'default_value_widget' =>
array (
'field_cs_category' =>
array (
0 =>
array (
'value' => '',
'_error_element' => 'default_value_widget][field_cs_category][0][value',
),
),
),
'group' => 'group_commonspot',
'required' => 0,
'multiple' => '0',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'op' => 'Save field settings',
'module' => 'text',
'widget_module' => 'text',
'columns' =>
array (
'value' =>
array (
'type' => 'text',
'size' => 'big',
'not null' => false,
'sortable' => true,
'views' => true,
),
),
'display_settings' =>
array (
'weight' => '5',
'parent' => '',
'label' =>
array (
'format' => 'inline',
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 1,
),
'full' =>
array (
'format' => 'default',
'exclude' => 1,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
'token' =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
);
$content['extra'] = array (
'title' => '-5',
'body_field' => '-3',
'menu' => '-4',
);
|