$view = new view; $view->name = 'comingevevents'; $view->description = 'comingevents'; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = '0'; $view->api_version = 2; $view->disabled = FALSE; // Edit this to true to make a default view disabled initially $view->display = array(); $display = new views_display; $display->id = 'default'; $display->display_title = 'Defaults'; $display->display_plugin = 'default'; $display->position = '1'; $display->display_options = array( 'style_plugin' => 'default', 'style_options' => array(), 'row_plugin' => 'node', 'row_options' => array( 'teaser' => 1, 'links' => 1, ), 'relationships' => array(), 'fields' => array(), 'sorts' => array(), 'arguments' => array( 'field_eventdate_browser' => array( 'id' => 'field_eventdate_browser', 'table' => 'node_data_field_eventdate', 'field' => 'field_eventdate_browser', 'default_action' => 'default', 'style_plugin' => 'default_summary', 'style_options' => array( 'count' => TRUE, 'override' => FALSE, 'items_per_page' => 25, ), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'default_argument_type' => 'php', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'granularity' => array( '0' => 'year', ), 'relationship' => 'none', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => 'return ("@P100Y") ;', 'validate_argument_node_type' => array( 'cpbentry' => 0, 'eventfordisplay' => 0, 'frontpagearticle' => 0, 'notion' => 0, 'page' => 0, 'queries' => 0, 'ragbonebooks' => 0, 'readingdiary' => 0, 'searchanswers' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_php' => '', ), ), 'filters' => array( 'type' => array( 'id' => 'type', 'table' => 'node', 'field' => 'type', 'operator' => 'in', 'value' => array( 'eventfordisplay' => 'eventfordisplay', ), 'group' => 0, 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'relationship' => 'none', 'expose_button' => array( 'button' => 'Expose', ), ), ), 'items_per_page' => 10, ); $view->display['default'] = $display; $display = new views_display; $display->id = 'page'; $display->display_title = 'Page'; $display->display_plugin = 'page'; $display->position = '2'; $display->display_options = array( 'defaults' => array( 'access' => TRUE, 'title' => TRUE, 'header' => TRUE, 'header_format' => TRUE, 'header_empty' => TRUE, 'footer' => TRUE, 'footer_format' => TRUE, 'footer_empty' => TRUE, 'empty' => TRUE, 'empty_format' => TRUE, 'use_ajax' => TRUE, 'items_per_page' => TRUE, 'offset' => TRUE, 'use_pager' => TRUE, 'pager_element' => TRUE, 'use_more' => TRUE, 'distinct' => TRUE, 'link_display' => TRUE, 'style_plugin' => TRUE, 'style_options' => TRUE, 'row_plugin' => TRUE, 'row_options' => TRUE, 'relationships' => TRUE, 'fields' => TRUE, 'sorts' => TRUE, 'arguments' => TRUE, 'filters' => TRUE, ), 'relationships' => array(), 'fields' => array(), 'sorts' => array(), 'arguments' => array(), 'filters' => array(), 'path' => 'comingup', ); $view->display['page'] = $display;