$content['type'] = array ( 'name' => 'Game', 'type' => 'game', 'description' => 'Games we play. Not to be confused with challenges, which are specific instances of games we play, with dates / times.', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => 'Fill in all fields, and screw norway.', 'node_options' => array ( 'status' => true, 'revision' => true, 'promote' => false, 'sticky' => false, ), 'language_content_type' => '0', 'upload' => '1', 'show_preview_changes' => 1, 'old_type' => 'game', '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' => '0', 'comment_form_location' => '1', 'comment_upload' => '0', 'comment_upload_images' => 'none', 'event_nodeapi' => 'never', ); $content['fields'] = array ( 0 => array ( 'label' => 'Picture', 'field_name' => 'field_game_picture', 'type' => 'filefield', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '-3', 'file_extensions' => 'png gif jpg jpeg', 'progress_indicator' => 'bar', 'file_path' => 'game_pictures', 'max_filesize_per_file' => '', 'max_filesize_per_node' => '', 'max_resolution' => '640x480', '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' => '', 'group' => false, 'required' => 1, '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 ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'image_plain', 'exclude' => 0, ), 'full' => array ( 'format' => 'image_plain', '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' => 'Description', 'field_name' => 'field_description', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '-2', 'rows' => '5', 'size' => 60, 'description' => '', 'default_value' => array ( ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_description' => array ( 0 => array ( 'value' => '', 'format' => '4', '_error_element' => 'default_value_widget][field_description][0][value', ), ), ), 'group' => false, 'required' => 1, '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, 'views' => true, ), 'format' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, 'views' => false, ), ), 'display_settings' => array ( 'weight' => '-3', 'parent' => '', 'label' => array ( 'format' => 'inline', ), '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, ), ), ), 2 => array ( 'label' => 'Genre', 'field_name' => 'field_genre', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '-1', 'description' => 'Specify a genre for the game you are creating from the select list. ', 'default_value' => array ( ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_genre' => array ( 'value' => '', ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => 'Adventure First Person Shooter Simulation Sports Strategy Racing Role Playing Game ', '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, 'views' => 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, ), ), ), 3 => array ( 'label' => 'First Played', 'field_name' => 'field_played', 'type' => 'date', 'widget_type' => 'date_popup', 'change' => 'Change basic information', 'weight' => 0, 'default_value' => 'blank', 'default_value2' => 'same', 'default_value_code' => '', 'default_value_code2' => '', 'input_format' => 'd/m/Y', 'input_format_custom' => '', 'year_range' => '-15:+3', 'increment' => '30', 'advanced' => array ( 'label_position' => 'above', 'text_parts' => array ( 'year' => 0, 'month' => 0, 'day' => 0, 'hour' => 0, 'minute' => 0, 'second' => 0, ), ), 'label_position' => 'above', 'text_parts' => array ( ), 'description' => 'Date first played, and until when.', 'group' => false, 'required' => 1, 'multiple' => '0', 'repeat' => 0, 'todate' => 'optional', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', ), 'default_format' => 'medium', 'tz_handling' => 'none', 'timezone_db' => 'Australia/Sydney', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => true, ), 'value2' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => false, ), ), 'display_settings' => array ( 'weight' => '-2', 'parent' => '', 'label' => array ( 'format' => 'inline', ), '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' => 'Server', 'field_name' => 'field_server', 'type' => 'nodereference', 'widget_type' => 'nodereference_select', 'change' => 'Change basic information', 'weight' => '7', 'autocomplete_match' => 'contains', 'size' => 60, 'description' => '', 'default_value' => array ( ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_server' => array ( 'nid' => array ( 'nid' => '', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'referenceable_types' => array ( 'blog' => false, 'challenge' => false, 'event' => false, 'forum' => false, 'game' => false, 'hockey' => false, 'project_issue' => false, 'news' => false, 'newsletter' => false, 'page' => false, 'poll' => false, 'project_project' => false, 'project_release' => false, 'story' => false, 'treks' => false, 'competition' => false, ), 'advanced_view' => '', 'advanced_view_args' => '', '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 ( '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, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '2', 'revision_information' => '3', 'comment_settings' => '6', 'menu' => '-4', 'path' => '4', 'attachments' => '5', );