Created
April 4, 2011 13:14
-
-
Save charleyramm/901614 to your computer and use it in GitHub Desktop.
cck partner fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$content['type'] = array ( | |
'name' => 'People', | |
'type' => 'people', | |
'description' => 'Artists, musicians and contributors.', | |
'title_label' => 'Title', | |
'body_label' => 'Body', | |
'min_word_count' => '0', | |
'help' => '', | |
'input_formats' => | |
array ( | |
1 => true, | |
0 => 1, | |
2 => false, | |
3 => false, | |
), | |
'node_options' => | |
array ( | |
'status' => true, | |
'promote' => false, | |
'sticky' => false, | |
'revision' => false, | |
), | |
'upload' => '1', | |
'parentmenu' => 'secondary-links:120', | |
'parentmenuen' => '0', | |
'automenu_hide' => 0, | |
'ffp_upload' => | |
array ( | |
'file_path' => '', | |
'file_path_cleanup' => | |
array ( | |
'file_path_pathauto' => 0, | |
'file_path_tolower' => 0, | |
'file_path_transliterate' => 0, | |
), | |
'file_name' => '[filefield-onlyname-original].[filefield-extension-original]', | |
'file_name_cleanup' => | |
array ( | |
'file_name_pathauto' => 0, | |
'file_name_tolower' => 0, | |
'file_name_transliterate' => 0, | |
), | |
'retroactive_update' => '', | |
'active_updating' => 0, | |
), | |
'old_type' => 'people', | |
'orig_type' => '', | |
'module' => 'node', | |
'custom' => '1', | |
'modified' => '1', | |
'locked' => '0', | |
'og_content_type_usage' => 'group_post_standard', | |
'og_max_groups' => '', | |
'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', | |
'ant' => '0', | |
'ant_pattern' => '', | |
'ant_php' => 0, | |
); | |
$content['fields'] = array ( | |
0 => | |
array ( | |
'label' => 'Photo', | |
'field_name' => 'field_photo', | |
'type' => 'filefield', | |
'widget_type' => 'imagefield_widget', | |
'change' => 'Change basic information', | |
'weight' => '-4', | |
'file_extensions' => 'png gif jpg jpeg', | |
'progress_indicator' => 'bar', | |
'file_path' => '', | |
'max_filesize_per_file' => '', | |
'max_filesize_per_node' => '', | |
'max_resolution' => 0, | |
'min_resolution' => 0, | |
'custom_alt' => 0, | |
'alt' => '', | |
'custom_title' => 1, | |
'title_type' => 'textfield', | |
'title' => '', | |
'use_default_image' => 0, | |
'default_image_upload' => '', | |
'default_image' => NULL, | |
'description' => '', | |
'ffp_field_photo' => | |
array ( | |
'file_path' => '', | |
'file_path_cleanup' => | |
array ( | |
'file_path_pathauto' => 0, | |
'file_path_tolower' => 0, | |
'file_path_transliterate' => 0, | |
), | |
'file_name' => '[filefield-onlyname-original].[filefield-extension-original]', | |
'file_name_cleanup' => | |
array ( | |
'file_name_pathauto' => 0, | |
'file_name_tolower' => 0, | |
'file_name_transliterate' => 0, | |
), | |
'retroactive_update' => '', | |
'active_updating' => 0, | |
), | |
'group' => false, | |
'required' => 0, | |
'multiple' => '0', | |
'list_field' => '0', | |
'list_default' => 1, | |
'description_field' => '0', | |
'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' => 'hidden', | |
), | |
'teaser' => | |
array ( | |
'format' => 'top_showcase_thumb_linked', | |
'exclude' => 0, | |
), | |
'full' => | |
array ( | |
'format' => 'top_showcase_thumb_default', | |
'exclude' => 0, | |
), | |
4 => | |
array ( | |
'format' => 'image_plain', | |
'exclude' => 0, | |
), | |
2 => | |
array ( | |
'format' => 'image_plain', | |
'exclude' => 0, | |
), | |
3 => | |
array ( | |
'format' => 'image_plain', | |
'exclude' => 0, | |
), | |
'token' => | |
array ( | |
'format' => 'image_plain', | |
'exclude' => 0, | |
), | |
), | |
), | |
1 => | |
array ( | |
'label' => 'pdf', | |
'field_name' => 'field_pdf', | |
'type' => 'filefield', | |
'widget_type' => 'filefield_widget', | |
'change' => 'Change basic information', | |
'weight' => '4', | |
'file_extensions' => 'pdf', | |
'progress_indicator' => 'bar', | |
'file_path' => '', | |
'max_filesize_per_file' => '50M', | |
'max_filesize_per_node' => '', | |
'description' => 'A pdf file related to this person or group.', | |
'ffp_field_pdf' => | |
array ( | |
'file_path' => '', | |
'file_path_cleanup' => | |
array ( | |
'file_path_pathauto' => 0, | |
'file_path_tolower' => 0, | |
'file_path_transliterate' => 0, | |
), | |
'file_name' => '[filefield-onlyname-original].[filefield-extension-original]', | |
'file_name_cleanup' => | |
array ( | |
'file_name_pathauto' => 0, | |
'file_name_tolower' => 0, | |
'file_name_transliterate' => 0, | |
), | |
'retroactive_update' => '', | |
'active_updating' => 0, | |
), | |
'group' => false, | |
'required' => 0, | |
'multiple' => '0', | |
'list_field' => '1', | |
'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' => '2', | |
'parent' => '', | |
'label' => | |
array ( | |
'format' => 'above', | |
), | |
'teaser' => | |
array ( | |
'format' => 'default', | |
'exclude' => 0, | |
), | |
'full' => | |
array ( | |
'format' => 'default', | |
'exclude' => 0, | |
), | |
4 => | |
array ( | |
'format' => 'default', | |
'exclude' => 0, | |
), | |
2 => | |
array ( | |
'format' => 'default', | |
'exclude' => 0, | |
), | |
3 => | |
array ( | |
'format' => 'default', | |
'exclude' => 0, | |
), | |
'token' => | |
array ( | |
'format' => 'default', | |
'exclude' => 0, | |
), | |
), | |
), | |
); | |
$content['extra'] = array ( | |
'title' => '-5', | |
'body_field' => '-2', | |
'revision_information' => '-1', | |
'author' => '20', | |
'options' => '25', | |
'comment_settings' => '2', | |
'menu' => '-3', | |
'taxonomy' => '-3', | |
'path' => '0', | |
'attachments' => '1', | |
'og_nodeapi' => '0', | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment