$view = new view; $view->name = 'termine'; $view->description = 'Date browser'; $view->tag = 'Date'; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'field_datum_value' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '

[field_datum_value]

', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 1, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'none', 'format' => 'nur_uhrzeit', 'multiple' => array( 'multiple_number' => '1', 'multiple_from' => '1', 'multiple_to' => '1', 'group' => 0, ), 'repeat' => array( 'show_repeat_rule' => 'hide', ), 'fromto' => array( 'fromto' => 'value', ), 'exclude' => 0, 'id' => 'field_datum_value', 'table' => 'node_data_field_datum', 'field' => 'field_datum_value', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), 'field_privatdatum_value' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 1, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'none', 'format' => 'nur_uhrzeit', 'multiple' => array( 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', 'group' => 0, ), 'repeat' => array( 'show_repeat_rule' => '', ), 'fromto' => array( 'fromto' => 'both', ), 'exclude' => 0, 'id' => 'field_privatdatum_value', 'table' => 'node_data_field_privatdatum', 'field' => 'field_privatdatum_value', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), 'type' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '[type] [field_datum_value] [field_privatdatum_value] [field_kommerzeielles_datum_value] [title] ', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'machine_name' => 0, 'exclude' => 1, 'id' => 'type', 'table' => 'node', 'field' => 'type', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'field_datum_value' => array( 'order' => 'ASC', 'delta' => '-1', 'id' => 'field_datum_value', 'table' => 'node_data_field_datum', 'field' => 'field_datum_value', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), 'field_privatdatum_value' => array( 'order' => 'ASC', 'delta' => '-1', 'id' => 'field_privatdatum_value', 'table' => 'node_data_field_privatdatum', 'field' => 'field_privatdatum_value', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'date_argument' => array( 'default_action' => 'default', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'Alle', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'date', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'date_fields' => array( 'node_data_field_datum.field_datum_value' => 'node_data_field_datum.field_datum_value', 'node_data_field_privatdatum.field_privatdatum_value' => 'node_data_field_privatdatum.field_privatdatum_value', ), 'year_range' => '-3:+3', 'date_method' => 'OR', 'granularity' => 'day', 'id' => 'date_argument', 'table' => 'node', 'field' => 'date_argument', 'relationship' => 'none', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'blog' => 0, 'poll' => 0, 'product' => 0, 'business' => 0, 'forum' => 0, 'book' => 0, 'feed' => 0, 'frage' => 0, 'gruppe' => 0, 'gruppenbeitrag' => 0, 'kommerzieller_termin' => 0, 'kommerzielle_monatsanzeige' => 0, 'page' => 0, 'pinnwandeintrag' => 0, 'privatanzeige' => 0, 'privattermin' => 0, 'profile' => 0, 'story' => 0, 'termin' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '2' => 0, '6' => 0, '7' => 0, '22' => 0, '3' => 0, '12' => 0, '13' => 0, '5' => 0, '8' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_php' => '', 'default_options_div_prefix' => '', 'validate_argument_signup_status' => 'any', 'validate_argument_signup_node_access' => 0, 'override' => array( 'button' => 'Übersteuern', ), 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '3' => 0, '7' => 0, '8' => 0, '4' => 0, ), 'me_redirect' => 0, 'me_validate_user_argument_type' => 'uid', 'me_validate_user_roles' => array( '2' => 0, '3' => 0, '7' => 0, '8' => 0, '4' => 0, ), 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_node_flag_name' => '*relationship*', 'validate_argument_node_flag_test' => 'flaggable', 'validate_argument_node_flag_id_type' => 'id', 'validate_argument_user_flag_name' => '*relationship*', 'validate_argument_user_flag_test' => 'flaggable', 'validate_argument_user_flag_id_type' => 'id', 'validate_argument_is_member' => 'OG_VIEWS_DO_NOT_VALIDATE_MEMBERSHIP', 'validate_argument_group_node_type' => array( 'gruppe' => 0, ), 'me_validate_user_restrict_roles' => 0, ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'kommerzieller_termin' => 'kommerzieller_termin', 'privattermin' => 'privattermin', 'termin' => 'termin', ), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'type_op', 'identifier' => 'type', 'label' => 'Terminart', 'optional' => 1, 'single' => 0, 'remember' => 0, 'reduce' => 1, ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', ), 'tid' => array( 'operator' => 'or', 'value' => array( '6075' => '6075', '6255' => '6255', '6396' => '6396', '6992' => '6992', '7452' => '7452', '7577' => '7577', '8137' => '8137', '8425' => '8425', '8526' => '8526', ), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'tid_op', 'identifier' => 'tid', 'label' => 'Bundesland', 'optional' => 1, 'single' => 0, 'remember' => 0, 'reduce' => 1, ), 'type' => 'select', 'limit' => TRUE, 'vid' => '22', 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'hierarchy' => 1, 'override' => array( 'button' => 'Übersteuern', ), 'relationship' => 'none', 'reduce_duplicates' => 0, ), )); $handler->override_option('access', array( 'type' => 'none', 'role' => array(), 'perm' => '', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('items_per_page', 0); $handler->override_option('use_pager', 'mini'); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => 'type', 'override' => 0, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'field_datum_value' => 'field_datum_value', 'title' => 'title', 'type' => 'type', ), 'info' => array( 'field_datum_value' => array( 'sortable' => 0, 'separator' => '', ), 'title' => array( 'sortable' => 0, 'separator' => '', ), 'type' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => 'field_datum_value', )); $handler->override_option('row_options', array( 'inline' => array(), 'separator' => '', 'hide_empty' => 0, )); $handler->override_option('exposed_block', TRUE); $handler = $view->new_display('page', 'Page', 'page'); $handler->override_option('path', 'kalender'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler = $view->new_display('date_nav', 'Date browser', 'date_nav_1'); $handler->override_option('style_plugin', 'date_nav'); $handler->override_option('style_options', array()); $handler->override_option('row_options', array()); $handler->override_option('attachment_position', 'before'); $handler->override_option('inherit_arguments', TRUE); $handler->override_option('inherit_exposed_filters', TRUE); $handler->override_option('inherit_pager', FALSE); $handler->override_option('render_pager', TRUE); $handler->override_option('displays', array( 'page' => 'page', 'default' => 0, ));