$content['type'] = array ( 'name' => 'Project', 'type' => 'project', 'description' => 'A robot/electronic project submitted by a user.', 'title_label' => 'Project Name', 'body_label' => 'Project Description', 'min_word_count' => '25', 'help' => 'Describe your project. Be sure to include enough details to interest readers. What inspired you? How long did it take to build? What were you major obstacles? What would you do differently if you were doing it again?', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'flag_bookmarks_default' => 0, 'old_type' => 'project', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'comment' => '2', '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' => '1', 'fivestar' => 1, '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' => 'dual', 'fivestar_text' => 'dual', 'fivestar_title' => 1, 'fivestar_feedback' => 1, 'fivestar_unvote' => 0, 'fivestar_position_teaser' => 'hidden', 'fivestar_position' => 'hidden', ); $content['fields'] = array ( 0 => array ( 'label' => 'Category', 'field_name' => 'field_category', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '1', 'description' => 'Choose a category for your robot. This will help other people find it. Don\'t worry if there\'s not a really good one - you can use tags to categorize it.', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => false, 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => 'Walking Rolling Swimming Flying Space Misc', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), '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, ), ), ), 1 => array ( 'label' => 'Picture', 'field_name' => 'field_picture', 'type' => 'image', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '2', 'file_extensions' => 'jpg jpeg png gif', 'file_path' => 'project_pics', 'max_filesize_per_file' => '1M', 'max_filesize_per_node' => '5M', 'max_resolution' => 0, 'min_resolution' => '150', 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title' => '', 'description' => '', 'group' => false, 'required' => 1, 'multiple' => '1', 'list_default' => '1', 'force_list_default' => '1', 'show_description' => '1', 'op' => 'Save field settings', 'module' => 'imagefield', 'widget_module' => 'imagefield', 'columns' => array ( 'fid' => array ( 'type' => 'int', 'not null' => false, ), 'list' => array ( 'type' => 'int', 'size' => 'tiny', 'not null' => false, ), 'data' => array ( 'type' => 'text', 'serialize' => true, ), ), 'display_settings' => array ( 'weight' => '5', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 1, ), 'full' => array ( 'format' => 'thumbnail_imagelink', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Cost', 'field_name' => 'field_cost', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '3', 'rows' => 5, 'size' => '10', 'description' => 'How much did your project cost? Be sure to list currency, like USD, EUR, HKD, etc.', 'default_value' => array ( 0 => array ( 'value' => '00.00', '_error_element' => 'default_value_widget][field_cost][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_cost' => array ( 0 => array ( 'value' => '00.00', '_error_element' => 'default_value_widget][field_cost][0][value', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '20', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '20', 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'weight' => '1', 'parent' => '', 'label' => array ( 'format' => 'above', ), '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, ), ), ), 3 => array ( 'label' => 'Time to Build', 'field_name' => 'field_buildtime', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '4', 'rows' => 5, 'size' => '12', 'description' => 'How long did it take you to build this? 1 day? 2 years? 24 hrs?', 'default_value' => array ( 0 => array ( 'value' => '3 months', '_error_element' => 'default_value_widget][field_buildtime][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_buildtime' => array ( 0 => array ( 'value' => '3 months', '_error_element' => 'default_value_widget][field_buildtime][0][value', ), ), ), 'group' => false, '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, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), '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, ), ), ), 4 => array ( 'label' => 'Project Components', 'field_name' => 'field_components', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '6', 'rows' => '6', 'size' => 60, 'description' => 'Tell us what you used to build your project. What kind of batteries? Which microcontroller? Motors?', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_components][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_components' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_components][0][value', 'format' => 1, ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '1', '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, ), 'format' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), '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, ), ), ), 5 => array ( 'label' => 'Inspired by', 'field_name' => 'field_inspiration', 'type' => 'nodereference', 'widget_type' => 'nodereference_select', 'change' => 'Change basic information', 'weight' => '7', 'autocomplete_match' => 'starts_with', 'description' => 'Type in the name of the project that was the inspiration for this project.', 'default_value' => array ( 0 => array ( 'nid' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_inspiration' => array ( 0 => array ( 'nid' => '', ), 'nid' => array ( 'nid' => array ( 0 => '', ), ), ), ), 'group' => false, 'required' => 0, 'multiple' => '1', 'referenceable_types' => array ( 'project' => 'project', 'blog' => 0, 'page' => 0, 'story' => 0, 'fb_app' => false, ), 'advanced_view' => 'friends_inspirations_projects', 'advanced_view_args' => '', 'op' => 'Save field settings', 'module' => 'nodereference', 'widget_module' => 'nodereference', 'columns' => array ( 'nid' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, ), ), 'display_settings' => array ( 'weight' => '3', '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, ), ), ), 6 => array ( 'label' => 'Inspired', 'field_name' => 'field_inspired', 'type' => 'nodereferrer', 'widget_type' => 'nodereferrer_list', 'change' => 'Change basic information', 'weight' => '8', 'description' => '', 'group' => false, 'required' => 0, 'multiple' => '0', 'referrer_types' => array ( 'project' => 'project', 'blog' => 0, 'page' => 0, 'story' => 0, 'fb_app' => false, ), 'referrer_fields' => array ( 'field_inspiration' => 'field_inspiration', 'field_myprojects' => 0, 'field_inspiration2' => 0, ), 'referrer_nodes_per_page' => '0', 'referrer_pager_element' => '0', 'referrer_order' => 'TITLE_ASC', 'op' => 'Save field settings', 'module' => 'nodereferrer', 'widget_module' => 'nodereferrer', 'columns' => array ( ), 'display_settings' => array ( 'weight' => '4', '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, ), ), ), 7 => array ( 'label' => 'Build Log', 'field_name' => 'field_buildlog', 'type' => 'nodereferrer', 'widget_type' => 'nodereferrer_list', 'change' => 'Change basic information', 'weight' => '9', 'description' => 'Build log entries that reference this project.', 'group' => false, 'required' => 0, 'multiple' => '0', 'referrer_types' => array ( 'blog' => 'blog', 'page' => 0, 'project' => 0, 'story' => 0, 'fb_app' => false, ), 'referrer_fields' => array ( 'field_myprojects' => 'field_myprojects', 'field_inspiration' => 0, 'field_inspiration2' => 0, ), 'referrer_nodes_per_page' => '0', 'referrer_pager_element' => '0', 'referrer_order' => 'CREATED_ASC', 'op' => 'Save field settings', 'module' => 'nodereferrer', 'widget_module' => 'nodereferrer', 'columns' => array ( ), 'display_settings' => array ( 'weight' => '6', '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' => '-2', 'body_field' => '5', 'menu' => '0', 'taxonomy' => '-1', );