$content['type'] = array ( 'name' => 'Event', 'type' => 'event', 'description' => '', 'title_label' => 'Event Title', 'body_label' => 'Description', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'language_content_type' => '0', 'upload' => '1', 'webfm_attach' => '1', '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', 'flatcomments_remove_reply_link' => array ( 'reply' => false, ), 'print_display' => 1, 'print_display_comment' => 0, 'print_display_urllist' => 0, ); $content['fields'] = array ( 0 => array ( 'label' => 'Picture', 'field_name' => 'field_eventm_picture', 'type' => 'filefield', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '-4', 'file_extensions' => 'jpg jpeg png gif', 'progress_indicator' => 'bar', 'file_path' => 'eventm_file', 'max_filesize_per_file' => '200k', 'max_filesize_per_node' => '', 'max_resolution' => '640x480', 'min_resolution' => 0, 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title_type' => 'textfield', 'title' => '', 'use_default_image' => '', 'default_image_upload' => '', 'default_image' => NULL, 'description' => '', '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' => 'memberlogo_default', 'exclude' => 0, ), 'full' => array ( 'format' => 'memberlogo_default', 'exclude' => 0, ), 4 => array ( 'format' => 'image_plain', 'exclude' => 0, ), 'token' => array ( 'format' => 'image_plain', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Date Begin', 'field_name' => 'field_eventm_date_begin', 'type' => 'date', 'widget_type' => 'date_select', 'change' => 'Change basic information', 'weight' => '-3', 'default_value' => 'blank', 'default_value2' => 'same', 'default_value_code' => '', 'default_value_code2' => '', 'input_format' => 'Y-m-d H:i:s', 'input_format_custom' => '', 'year_range' => '-3:+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' => 'If there is no known begin time, select 0 hour 00 minutes. This will produce the output "All day".', 'group' => false, 'required' => 1, 'multiple' => '0', 'repeat' => 0, 'todate' => '', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', ), 'default_format' => 'medium', 'tz_handling' => 'none', 'timezone_db' => 'Europe/Vienna', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-3', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'short', 'exclude' => 0, ), 'full' => array ( 'format' => 'long', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Date End', 'field_name' => 'field_eventm_date_end', 'type' => 'date', 'widget_type' => 'date_select', 'change' => 'Change basic information', 'weight' => '-2', 'default_value' => 'blank', 'default_value2' => 'same', 'default_value_code' => '', 'default_value_code2' => '', 'input_format' => 'Y-m-d H:i:s', 'input_format_custom' => '', 'year_range' => '-3:+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', 'month' => 'month', 'day' => 'day', 'hour' => 'hour', 'minute' => 'minute', ), 'default_format' => 'medium', 'tz_handling' => 'none', 'timezone_db' => 'Europe/Vienna', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-2', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'short', 'exclude' => 0, ), 'full' => array ( 'format' => 'long', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 3 => array ( 'label' => 'Location', 'field_name' => 'field_eventm_location', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '-1', 'rows' => 5, 'size' => '60', 'description' => 'Please enter: City, Country', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_eventm_location][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_eventm_location' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_eventm_location][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, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-1', 'parent' => '', 'label' => array ( 'format' => 'inline', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 4 => array ( 'label' => 'Calendar Info', 'field_name' => 'field_eventm_info', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => 0, 'rows' => 5, 'size' => '80', 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_eventm_info][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_eventm_info' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_eventm_info][0][value', ), ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '150', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '150', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => 0, 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 5 => array ( 'label' => 'File Attachment', 'field_name' => 'field_eventm_file', 'type' => 'filefield', 'widget_type' => 'filefield_widget', 'change' => 'Change basic information', 'weight' => '1', 'file_extensions' => 'txt pdf doc docx xls xlsx zip rtf', 'progress_indicator' => 'bar', 'file_path' => 'eventm_file', 'max_filesize_per_file' => '', 'max_filesize_per_node' => '', 'description' => '', 'group' => false, 'required' => 0, 'multiple' => '1', 'list_field' => '1', 'list_default' => 1, 'description_field' => '1', '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 ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '2', 'revision_information' => '5', 'comment_settings' => '7', 'menu' => '3', 'attachments' => '6', 'print' => '4', );