$content['type'] = array ( 'name' => 'Event', 'type' => 'event', 'description' => '', 'title_label' => 'Name', 'body_label' => 'Description', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'revision' => true, 'promote' => false, 'sticky' => false, ), 'excerpt' => '0', 'upload' => '0', 'webfm_attach' => '1', 'old_type' => 'event', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'content_profile_use' => 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, ), 'menuless_node_type_options' => array ( 'active' => true, ), 'print_display' => 1, 'print_display_comment' => 0, 'print_display_urllist' => 0, 'skinr_settings' => array ( 'comment_group' => array ( 'cti_flex' => array ( 'advanced' => array ( '_additional' => '', '_template' => '', ), ), 'garland' => array ( 'advanced' => array ( '_additional' => '', '_template' => '', ), ), ), 'node_group' => array ( 'cti_flex' => array ( 'advanced' => array ( '_additional' => '', '_template' => '', ), ), 'garland' => array ( 'advanced' => array ( '_additional' => '', '_template' => '', ), ), ), ), 'ant' => '0', 'ant_pattern' => '', 'ant_php' => 0, 'better_formats_allowed' => array ( 1 => false, 2 => false, 3 => false, ), 'better_formats_defaults' => array ( 'node-4' => array ( 'format' => '0', 'weight' => '-25', ), 'node-3' => array ( 'format' => '0', 'weight' => '-24', ), 'node-2' => array ( 'format' => '0', 'weight' => '-22', ), 'node-1' => array ( 'format' => '0', 'weight' => '-21', ), 'node-6' => array ( 'format' => '0', 'weight' => '25', ), 'node-7' => array ( 'format' => '0', 'weight' => '25', ), 'node-8' => array ( 'format' => '0', 'weight' => '25', ), 'node-9' => array ( 'format' => '0', 'weight' => '25', ), 'node-10' => array ( 'format' => '0', 'weight' => '25', ), 'node-11' => array ( 'format' => '0', 'weight' => '25', ), 'node-12' => array ( 'format' => '0', 'weight' => '25', ), 'node-13' => array ( 'format' => '0', 'weight' => '25', ), 'node-14' => array ( 'format' => '0', 'weight' => '25', ), 'comment-4' => array ( 'format' => '0', 'weight' => '-25', ), 'comment-3' => array ( 'format' => '0', 'weight' => '-24', ), 'comment-2' => array ( 'format' => '0', 'weight' => '-22', ), 'comment-1' => array ( 'format' => '0', 'weight' => '-21', ), 'comment-6' => array ( 'format' => '0', 'weight' => '25', ), 'comment-7' => array ( 'format' => '0', 'weight' => '25', ), 'comment-8' => array ( 'format' => '0', 'weight' => '25', ), 'comment-9' => array ( 'format' => '0', 'weight' => '25', ), 'comment-10' => array ( 'format' => '0', 'weight' => '25', ), 'comment-11' => array ( 'format' => '0', 'weight' => '25', ), 'comment-12' => array ( 'format' => '0', 'weight' => '25', ), 'comment-13' => array ( 'format' => '0', 'weight' => '25', ), 'comment-14' => array ( 'format' => '0', 'weight' => '25', ), ), ); $content['groups'] = array ( 0 => array ( 'label' => 'Date and Location', 'group_type' => 'standard', 'settings' => array ( 'form' => array ( 'style' => 'fieldset_collapsible', 'description' => '', ), 'display' => array ( 'description' => '', 'teaser' => array ( 'format' => 'fieldset_collapsible', 'exclude' => 0, ), 'full' => array ( 'format' => 'fieldset_collapsible', 'exclude' => 0, ), 4 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 2 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 3 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 5 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'token' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'label' => 'above', ), ), 'weight' => '0', 'group_name' => 'group_time_and_location', 'parent' => '', 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_type' => 'conditional_field_no_value', ), ), ), ); $content['fields'] = array ( 0 => array ( 'label' => 'Note', 'field_name' => 'field_event_note', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '-3', 'rows' => 5, 'size' => '60', 'description' => 'For an additional note, such as "- By invitation only!"', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_event_note][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => false, 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_type' => 'conditional_field_no_value', 'field_event_date_notfixed' => 'conditional_field_no_value', ), ), 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_permissions' => array ( 'create' => 0, 'edit' => 0, 'edit own' => 0, 'view' => 0, 'view own' => 0, ), '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' => '-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, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Event type(s)', 'field_name' => 'field_event_type', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '-2', 'description' => 'Select the type(s) this event belongs to', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_type' => array ( 'value' => array ( 0 => '', ), ), ), 'group' => false, 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_date_notfixed' => 'conditional_field_no_value', ), ), 'required' => 1, 'multiple' => '1', 'text_processing' => '0', 'max_length' => '', 'cck_required_single_select_field_event_type_disallowed_first_option' => 'Select One', 'allowed_values' => '001|ICC organised or sponsored 101|MoniQA project 102|PlantLibra project 201|HEALTHGRAIN project 202|ISEKI-Food project 301|CommNet network 901|Related to ICC', 'allowed_values_php' => '', 'field_permissions' => array ( 'create' => false, 'edit' => false, 'edit own' => false, 'view' => false, 'view own' => false, ), '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 ( 'weight' => '-2', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Event type(s)', 'field_name' => 'field_event_type_icon', 'type' => 'computed', 'widget_type' => 'computed', 'change' => 'Change basic information', 'weight' => '-1', 'description' => '', 'default_value' => array ( ), 'default_value_php' => '', 'group' => false, 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_type' => 'conditional_field_no_value', 'field_event_date_notfixed' => 'conditional_field_no_value', ), ), 'required' => 0, 'multiple' => '0', 'code' => '$baseurl = \'/sites/icc.or.at/files/event_type_icons/\'; $field_name = \'field_event_type\'; $global_settings = unserialize(db_result(db_query(\'SELECT global_settings FROM {content_node_field} WHERE field_name = \\\'%s\\\'\', $field_name))); $allowed_values = $global_settings[\'allowed_values\']; $lines = split("[\\n]", $allowed_values); $values = array(); foreach ($lines as $line) { $parts = explode(\'|\', $line, 2); $values[$parts[0]] = $parts[1]; } $count = count($node->$field_name); $out = "\\n"; for ($i = 0; $i < $count; $i++) { $key = $node->{$field_name}[$i][\'value\']; $value = $values[$key]; $out .= \'\' . $value . \' \' . "\\n"; } $node_field[0][\'value\'] = $out;', 'display_format' => '$display = $node_field_item[\'value\'];', 'store' => 1, 'data_type' => 'longtext', 'data_length' => '', 'data_size' => 'normal', 'data_precision' => 10, 'data_scale' => 2, 'data_default' => '', 'data_not_NULL' => 0, 'data_sortable' => 1, 'field_permissions' => array ( 'create' => false, 'edit' => false, 'edit own' => false, 'view' => false, 'view own' => false, ), 'op' => 'Save field settings', 'module' => 'computed_field', 'widget_module' => 'computed_field', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not NULL' => 0, 'sortable' => 1, ), ), 'display_settings' => array ( 'weight' => '-1', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'markup', 'exclude' => 0, ), 'full' => array ( 'format' => 'markup', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 3 => array ( 'label' => 'Date', 'field_name' => 'field_event_date', 'type' => 'date', 'widget_type' => 'date_popup', 'change' => 'Change basic information', 'weight' => '11', 'default_value' => 'now', 'default_value2' => 'strtotime', 'default_value_code' => '', 'default_value_code2' => '+1 days', 'input_format' => 'Y-m-d', 'input_format_custom' => '', 'year_range' => '2009:+3', 'increment' => '30', 'advanced' => array ( 'label_position' => 'within', 'text_parts' => array ( 'year' => 0, 'month' => 0, 'day' => 0, 'hour' => 0, 'minute' => 0, 'second' => 0, ), ), 'label_position' => 'within', 'text_parts' => array ( ), 'description' => '', 'group' => 'group_time_and_location', 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_type' => 'conditional_field_no_value', 'field_event_date_notfixed' => 'conditional_field_no_value', ), ), 'required' => 1, 'multiple' => '0', 'repeat' => 0, 'todate' => 'optional', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', ), 'default_format' => 'long', 'tz_handling' => 'none', 'timezone_db' => 'UTC', 'field_permissions' => array ( 'create' => false, 'edit' => false, 'edit own' => false, 'view' => false, 'view own' => false, ), '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' => '11', 'parent' => 'group_time_and_location', '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, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 4 => array ( 'label' => 'Date not fixed', 'field_name' => 'field_event_date_notfixed', 'type' => 'text', 'widget_type' => 'optionwidgets_select', 'change' => 'Change basic information', 'weight' => '13', 'description' => 'If this date is not yet fixed, select the reason. Otherwise keep the default value (- None -).', 'default_value' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_date_notfixed' => array ( 'value' => '', ), ), 'group' => 'group_time_and_location', 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_type' => 'conditional_field_no_value', ), ), 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'cck_required_single_select_field_event_date_notfixed_disallowed_first_option' => 'Select One', 'allowed_values' => '01|No exact date known yet 05|Date not confirmed yet', 'allowed_values_php' => '', 'field_permissions' => array ( 'create' => false, 'edit' => false, 'edit own' => false, 'view' => false, 'view own' => false, ), '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 ( 'weight' => '13', 'parent' => 'group_time_and_location', '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, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 5 => array ( 'label' => 'Location', 'field_name' => 'field_event_location', 'type' => 'location', 'widget_type' => 'location', 'change' => 'Change basic information', 'weight' => '14', 'description' => '', 'default_value' => array ( 0 => array ( 'name' => '', 'street' => '', 'additional' => '', 'city' => '', 'province' => '', 'country' => '', 'cck_preview_in_progress' => true, 'location_settings' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'default' => '', 'collect' => '1', 'weight' => '2', ), 'street' => array ( 'default' => '', 'collect' => '1', 'weight' => '4', ), 'additional' => array ( 'default' => '', 'collect' => '1', 'weight' => '6', ), 'city' => array ( 'default' => '', 'collect' => 1, 'weight' => '8', ), 'province' => array ( 'default' => '', 'collect' => '1', 'weight' => '10', ), 'postal_code' => array ( 'default' => '', 'collect' => '0', 'weight' => '12', ), 'country' => array ( 'default' => '', 'collect' => 1, 'weight' => '14', ), 'locpick' => array ( 'default' => false, 'collect' => '0', 'weight' => '20', 'nodiff' => true, ), 'cck_preview_in_progress' => array ( 'default' => true, ), 'location_settings' => array ( 'default' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'default' => '', 'collect' => '1', 'weight' => '2', ), 'street' => array ( 'default' => '', 'collect' => '1', 'weight' => '4', ), 'additional' => array ( 'default' => '', 'collect' => '1', 'weight' => '6', ), 'city' => array ( 'default' => '', 'collect' => 1, 'weight' => '8', ), 'province' => array ( 'default' => '', 'collect' => '0', 'weight' => '10', ), 'postal_code' => array ( 'default' => '', 'collect' => '0', 'weight' => '12', ), 'country' => array ( 'default' => '', 'collect' => 1, 'weight' => '14', ), 'locpick' => array ( 'default' => false, 'collect' => '0', 'weight' => '20', 'nodiff' => true, ), 'cck_preview_in_progress' => array ( 'default' => true, ), 'location_settings' => array ( 'default' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'default' => '', 'collect' => '1', 'weight' => '2', ), 'street' => array ( 'default' => '', 'collect' => '1', 'weight' => '4', ), 'additional' => array ( 'default' => '', 'collect' => '1', 'weight' => '6', ), 'city' => array ( 'default' => '', 'collect' => 1, 'weight' => '8', ), 'province' => array ( 'default' => '', 'collect' => '0', 'weight' => '10', ), 'postal_code' => array ( 'default' => '', 'collect' => '0', 'weight' => '12', ), 'country' => array ( 'default' => 'at', 'collect' => 1, 'weight' => '14', ), 'locpick' => array ( 'default' => array ( 'user_latitude' => '', 'user_longitude' => '', ), 'collect' => '0', 'weight' => '20', 'nodiff' => true, ), 'cck_preview_in_progress' => array ( 'default' => true, ), 'location_settings' => array ( 'default' => array ( 'form' => array ( 'fields' => array ( 'lid' => array ( 'default' => false, ), 'name' => array ( 'default' => '', 'collect' => 1, 'weight' => 2, ), 'street' => array ( 'default' => '', 'collect' => 1, 'weight' => 4, ), 'additional' => array ( 'default' => '', 'collect' => 1, 'weight' => 6, ), 'city' => array ( 'default' => '', 'collect' => 0, 'weight' => 8, ), 'province' => array ( 'default' => '', 'collect' => 0, 'weight' => 10, ), 'postal_code' => array ( 'default' => '', 'collect' => 0, 'weight' => 12, ), 'country' => array ( 'default' => 'at', 'collect' => 1, 'weight' => 14, ), 'locpick' => array ( 'default' => false, 'collect' => 1, 'weight' => 20, 'nodiff' => true, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), ), ), 'lid' => array ( 'default' => false, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), 'display' => array ( 'hide' => array ( 'province' => 'province', 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'province_name' => 'province_name', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'country' => 0, 'country_name' => 0, ), ), ), ), 'lid' => array ( 'default' => false, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), 'display' => array ( 'hide' => array ( 'province' => 'province', 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'province_name' => 'province_name', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'country' => 0, 'country_name' => 0, ), ), ), ), 'lid' => array ( 'default' => false, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), 'display' => array ( 'hide' => array ( 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'province_name' => 'province_name', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'province' => 0, 'country' => 0, 'country_name' => 0, ), ), ), ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_location' => array ( 0 => array ( 'lid' => false, 'name' => '', 'street' => '', 'additional' => '', 'city' => '', 'province' => '', 'postal_code' => '', 'country' => '', 'locpick' => false, 'latitude' => 0, 'longitude' => 0, 'source' => 0, 'is_primary' => 0, 'delete_location' => false, 'cck_preview_in_progress' => true, 'location_settings' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'default' => '', 'collect' => '1', 'weight' => '2', ), 'street' => array ( 'default' => '', 'collect' => '1', 'weight' => '4', ), 'additional' => array ( 'default' => '', 'collect' => '1', 'weight' => '6', ), 'city' => array ( 'default' => '', 'collect' => 1, 'weight' => '8', ), 'province' => array ( 'default' => '', 'collect' => '1', 'weight' => '10', ), 'postal_code' => array ( 'default' => '', 'collect' => '0', 'weight' => '12', ), 'country' => array ( 'default' => '', 'collect' => 1, 'weight' => '14', ), 'locpick' => array ( 'default' => false, 'collect' => '0', 'weight' => '20', 'nodiff' => true, ), 'cck_preview_in_progress' => array ( 'default' => true, ), 'location_settings' => array ( 'default' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'default' => '', 'collect' => '1', 'weight' => '2', ), 'street' => array ( 'default' => '', 'collect' => '1', 'weight' => '4', ), 'additional' => array ( 'default' => '', 'collect' => '1', 'weight' => '6', ), 'city' => array ( 'default' => '', 'collect' => 1, 'weight' => '8', ), 'province' => array ( 'default' => '', 'collect' => '1', 'weight' => '10', ), 'postal_code' => array ( 'default' => '', 'collect' => '0', 'weight' => '12', ), 'country' => array ( 'default' => '', 'collect' => 1, 'weight' => '14', ), 'locpick' => array ( 'default' => false, 'collect' => '0', 'weight' => '20', 'nodiff' => true, ), 'cck_preview_in_progress' => array ( 'default' => true, ), 'location_settings' => array ( 'default' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'default' => '', 'collect' => '1', 'weight' => '2', ), 'street' => array ( 'default' => '', 'collect' => '1', 'weight' => '4', ), 'additional' => array ( 'default' => '', 'collect' => '1', 'weight' => '6', ), 'city' => array ( 'default' => '', 'collect' => 1, 'weight' => '8', ), 'province' => array ( 'default' => '', 'collect' => '0', 'weight' => '10', ), 'postal_code' => array ( 'default' => '', 'collect' => '0', 'weight' => '12', ), 'country' => array ( 'default' => '', 'collect' => 1, 'weight' => '14', ), 'locpick' => array ( 'default' => false, 'collect' => '0', 'weight' => '20', 'nodiff' => true, ), 'cck_preview_in_progress' => array ( 'default' => true, ), 'location_settings' => array ( 'default' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'default' => '', 'collect' => '1', 'weight' => '2', ), 'street' => array ( 'default' => '', 'collect' => '1', 'weight' => '4', ), 'additional' => array ( 'default' => '', 'collect' => '1', 'weight' => '6', ), 'city' => array ( 'default' => '', 'collect' => 1, 'weight' => '8', ), 'province' => array ( 'default' => '', 'collect' => '0', 'weight' => '10', ), 'postal_code' => array ( 'default' => '', 'collect' => '0', 'weight' => '12', ), 'country' => array ( 'default' => 'at', 'collect' => 1, 'weight' => '14', ), 'locpick' => array ( 'default' => array ( 'user_latitude' => '', 'user_longitude' => '', ), 'collect' => '0', 'weight' => '20', 'nodiff' => true, ), 'cck_preview_in_progress' => array ( 'default' => true, ), 'location_settings' => array ( 'default' => array ( 'form' => array ( 'fields' => array ( 'lid' => array ( 'default' => false, ), 'name' => array ( 'default' => '', 'collect' => 1, 'weight' => 2, ), 'street' => array ( 'default' => '', 'collect' => 1, 'weight' => 4, ), 'additional' => array ( 'default' => '', 'collect' => 1, 'weight' => 6, ), 'city' => array ( 'default' => '', 'collect' => 0, 'weight' => 8, ), 'province' => array ( 'default' => '', 'collect' => 0, 'weight' => 10, ), 'postal_code' => array ( 'default' => '', 'collect' => 0, 'weight' => 12, ), 'country' => array ( 'default' => 'at', 'collect' => 1, 'weight' => 14, ), 'locpick' => array ( 'default' => false, 'collect' => 1, 'weight' => 20, 'nodiff' => true, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), ), ), 'lid' => array ( 'default' => false, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), 'display' => array ( 'hide' => array ( 'province' => 'province', 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'province_name' => 'province_name', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'country' => 0, 'country_name' => 0, ), ), ), ), 'lid' => array ( 'default' => false, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), 'display' => array ( 'hide' => array ( 'province' => 'province', 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'province_name' => 'province_name', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'country' => 0, 'country_name' => 0, ), ), ), ), 'lid' => array ( 'default' => false, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), 'display' => array ( 'hide' => array ( 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'province_name' => 'province_name', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'province' => 0, 'country' => 0, 'country_name' => 0, ), ), ), ), 'lid' => array ( 'default' => false, ), 'latitude' => array ( 'default' => 0, ), 'longitude' => array ( 'default' => 0, ), 'source' => array ( 'default' => 0, ), 'is_primary' => array ( 'default' => 0, ), 'delete_location' => array ( 'default' => false, 'nodiff' => true, ), ), ), 'display' => array ( 'hide' => array ( 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'province' => 0, 'country' => 0, 'province_name' => 0, 'country_name' => 0, ), ), ), ), ), ), 'group' => 'group_time_and_location', 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_type' => 'conditional_field_no_value', 'field_event_date_notfixed' => 'conditional_field_no_value', ), ), 'required' => 1, 'multiple' => '0', 'location_settings' => array ( 'form' => array ( 'fields' => array ( 'name' => array ( 'collect' => '1', 'default' => '', 'weight' => '2', ), 'street' => array ( 'collect' => '1', 'default' => '', 'weight' => '4', ), 'additional' => array ( 'collect' => '1', 'default' => '', 'weight' => '6', ), 'city' => array ( 'collect' => '2', 'default' => '', 'weight' => '8', ), 'province' => array ( 'collect' => '1', 'default' => '', 'weight' => '10', ), 'postal_code' => array ( 'collect' => '0', 'default' => '', 'weight' => '12', ), 'country' => array ( 'collect' => '2', 'default' => '', 'weight' => '14', ), 'locpick' => array ( 'collect' => '0', 'weight' => '20', ), ), ), 'display' => array ( 'hide' => array ( 'postal_code' => 'postal_code', 'locpick' => 'locpick', 'map_link' => 'map_link', 'coords' => 'coords', 'name' => 0, 'street' => 0, 'additional' => 0, 'city' => 0, 'province' => 0, 'country' => 0, 'province_name' => 0, 'country_name' => 0, ), ), ), 'gmap_macro' => '[gmap ]', 'gmap_marker' => 'drupal', 'field_permissions' => array ( 'create' => false, 'edit' => false, 'edit own' => false, 'view' => false, 'view own' => false, ), 'op' => 'Save field settings', 'module' => 'location_cck', 'widget_module' => 'location_cck', 'columns' => array ( 'lid' => array ( 'type' => 'int', 'unsigned' => true, 'not null' => false, ), ), 'display_settings' => array ( 'weight' => '14', 'parent' => 'group_time_and_location', '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, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 6 => array ( 'label' => 'Link(s)', 'field_name' => 'field_event_link', 'type' => 'link', 'widget_type' => 'link', 'change' => 'Change basic information', 'weight' => '1', 'description' => 'If the URL links to this website, please start it with [site-url]', 'default_value' => array ( 0 => array ( 'title' => '', 'url' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_event_link' => array ( 0 => array ( 'title' => '', 'url' => '', ), ), ), 'group' => false, 'conditional_fields' => array ( 'available_fields' => array ( 'field_event_type' => 'conditional_field_no_value', 'field_event_date_notfixed' => 'conditional_field_no_value', ), ), 'required' => 0, 'multiple' => '1', 'validate_url' => 1, 'url' => 0, 'title' => 'optional', 'title_value' => '', 'enable_tokens' => 1, 'display' => array ( 'url_cutoff' => '80', ), 'attributes' => array ( 'target' => '_blank', 'rel' => '', 'class' => '', 'title' => '', ), 'field_permissions' => array ( 'create' => false, 'edit' => false, 'edit own' => false, 'view' => false, 'view own' => false, ), 'op' => 'Save field settings', 'module' => 'link', 'widget_module' => 'link', 'columns' => array ( 'url' => array ( 'type' => 'varchar', 'length' => 2048, 'not null' => false, 'sortable' => true, ), 'title' => array ( 'type' => 'varchar', 'length' => 255, 'not null' => false, 'sortable' => true, ), 'attributes' => array ( 'type' => 'text', 'size' => 'medium', 'not null' => false, ), ), 'display_settings' => array ( 'weight' => '1', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'ul||link||default', 'exclude' => 0, ), 'full' => array ( 'format' => 'ul||link||default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '2', 'revision_information' => '5', 'author' => '4', 'options' => '6', 'comment_settings' => '8', 'menu' => '7', 'path' => '-4', 'print' => '9', 'webfm_attachments' => '3', );