$content[type] = array ( 'name' => 'Event', 'type' => 'event', 'description' => 'A music event.', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'old_type' => 'event', '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', ); $content[fields] = array ( 0 => array ( 'label' => 'Year', 'field_name' => 'field_event_year', 'type' => 'date', 'widget_type' => 'date_select', 'change' => 'Change basic information', 'weight' => '-4', 'default_value' => 'blank', 'default_value_code' => '', 'default_value2' => 'same', 'default_value_code2' => '', 'input_format' => 'Y-m-d H:i:s', 'input_format_custom' => 'Y', 'year_range' => '-30:+3', 'increment' => '1', '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' => '', 'group' => false, 'required' => 0, 'multiple' => '0', 'repeat' => 0, 'todate' => '', 'granularity' => array ( 'year' => 'year', ), 'output_format_date' => 'm/d/Y', 'output_format_custom' => 'Y', 'output_format_date_long' => 'm/d/Y', 'output_format_custom_long' => '', 'output_format_date_medium' => 'm/d/Y', 'output_format_custom_medium' => '', 'output_format_date_short' => 'm/d/Y', 'output_format_custom_short' => '', 'tz_handling' => 'none', 'timezone_db' => '', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, '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, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Event Dates', 'field_name' => 'field_event_date', 'type' => 'date', 'widget_type' => 'date_popup', 'change' => 'Change basic information', 'weight' => '-3', 'default_value' => 'blank', 'default_value_code' => '', 'default_value2' => 'same', 'default_value_code2' => '', 'input_format' => 'm/d/Y', 'input_format_custom' => '', 'year_range' => '-30:+3', 'increment' => '1', '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' => '', 'group' => false, 'required' => 0, 'multiple' => '0', 'repeat' => 0, 'todate' => 'optional', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', 'hour' => 'hour', ), 'output_format_date' => 'm/d/Y', 'output_format_custom' => '', 'output_format_date_long' => 'm/d/Y', 'output_format_custom_long' => '', 'output_format_date_medium' => 'm/d/Y', 'output_format_custom_medium' => '', 'output_format_date_short' => 'm/d/Y', 'output_format_custom_short' => '', 'tz_handling' => 'site', 'timezone_db' => 'UTC', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, ), 'value2' => 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' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Image', 'field_name' => 'field_event_image', 'type' => 'image', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '-1', 'file_extensions' => 'jpg jpeg png gif', 'file_path' => '', 'max_filesize_per_file' => '', 'max_filesize_per_node' => '', 'max_resolution' => 0, 'min_resolution' => 0, 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title' => '', 'description' => '', 'group' => false, 'required' => 0, 'multiple' => '1', 'list_default' => '1', 'force_list_default' => '0', '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' => '2', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'image_nodelink', 'exclude' => 0, ), 'full' => array ( 'format' => 'image_plain', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content[extra] = array ( 'title' => '-5', 'body_field' => '-2', 'menu' => '0', );