$content['type'] = array ( 'name' => 'Photo', 'type' => 'photo', 'description' => 'Photos for the gallery.', 'title_label' => 'Title of the Photo', 'body_label' => '', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'upload' => '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' => '', ), 'old_type' => 'photo', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'comment' => '2', 'comment_default_mode' => '2', 'comment_default_order' => '2', 'comment_default_per_page' => '10', 'comment_controls' => '3', 'comment_anonymous' => 0, 'comment_subject_field' => '1', 'comment_preview' => '0', 'comment_form_location' => '0', 'fivestar' => 0, 'fivestar_stars' => 5, 'fivestar_labels_enable' => 1, 'fivestar_label_0' => 'Cancel rating', 'fivestar_label_1' => 'Poor', 'fivestar_label_2' => 'Okay', 'fivestar_label_3' => 'Good', 'fivestar_label_4' => 'Great', 'fivestar_label_5' => 'Awesome', 'fivestar_label_6' => 'Give it @star/@count', 'fivestar_label_7' => 'Give it @star/@count', 'fivestar_label_8' => 'Give it @star/@count', 'fivestar_label_9' => 'Give it @star/@count', 'fivestar_label_10' => 'Give it @star/@count', 'fivestar_style' => 'average', 'fivestar_text' => 'dual', 'fivestar_title' => 1, 'fivestar_feedback' => 1, 'fivestar_unvote' => 0, 'fivestar_position_teaser' => 'hidden', 'fivestar_position' => 'below', ); $content['fields'] = array ( 0 => array ( 'label' => 'Choose the Photo Album(s) for this Photo', 'field_name' => 'field_photoalbum_reference', 'type' => 'nodereference', 'widget_type' => 'nodereference_select', 'change' => 'Change basic information', 'weight' => '-4', 'autocomplete_match' => 'contains', 'size' => 60, 'description' => '', 'default_value' => array ( 0 => array ( 'nid' => '', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => false, 'required' => 1, 'multiple' => '1', 'referenceable_types' => array ( 'photo_album' => 'photo_album', 'page' => 0, 'photo' => 0, 'story' => 0, 'video' => 0, 'video_category' => 0, ), 'advanced_view' => '--', 'advanced_view_args' => '', 'show_add_link' => 1, 'op' => 'Save field settings', 'module' => 'nodereference', 'widget_module' => 'nodereference', 'columns' => array ( 'nid' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, 'index' => true, ), ), 'display_settings' => array ( 'weight' => '-4', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 1, ), '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, ), ), ), 1 => array ( 'label' => 'Photo', 'field_name' => 'field_photo', 'type' => 'filefield', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '-3', 'file_extensions' => 'jpg jpeg png gif', 'progress_indicator' => 'bar', 'file_path' => 'photos', 'max_filesize_per_file' => '20M', 'max_filesize_per_node' => '', 'max_resolution' => '1024x1024', 'min_resolution' => 0, 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title_type' => 'textfield', 'title' => '', 'use_default_image' => 0, 'default_image_upload' => '', 'default_image' => NULL, 'description' => '', 'ffp_field_photo' => array ( 'file_path' => 'photos', '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' => '', ), 'group' => false, 'required' => 1, 'multiple' => '0', 'list_field' => '0', 'list_default' => 0, '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' => '-3', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'imagefield__lightbox2__photo-small__fullsize-lightbox', 'exclude' => 0, ), 'full' => array ( 'format' => 'imagefield__lightbox2__fullsize-page__fullsize-lightbox', '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, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'menu' => '-1', 'taxonomy' => '-2', );