$view = new view; $view->name = 'blogs'; $view->description = 'blogs'; $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' => true, 'links' => true, ), 'relationships' => array ( ), 'fields' => array ( ), 'sorts' => array ( 'created' => array ( 'id' => 'created', 'table' => 'node', 'field' => 'created', 'order' => 'DESC', 'granularity' => 'second', 'relationship' => 'none', ), ), 'arguments' => array ( ), 'filters' => array ( 'type' => array ( 'id' => 'type', 'table' => 'node', 'field' => 'type', 'operator' => 'in', 'value' => array ( 'blog' => 'blog', ), '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, 'php_arg_code' => true, 'exposed_options' => 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' => 'blogs', ); $view->display['page'] = $display;