$view = new view; $view->name = 'Blog2'; $view->description = 'A test to try and figure out what\'s wrong with this on WEB2DEV...'; $view->tag = 'Blog'; $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( 'title' => array( 'label' => 'Title', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'tid' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'break_phrase' => 1, 'add_table' => 0, 'require_value' => 0, 'reduce_duplicates' => 0, 'set_breadcrumb' => 0, 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '12' => 0, '9' => 0, '3' => 0, '5' => 0, '10' => 0, '17' => 0, '14' => 0, '15' => 0, '16' => 0, '11' => 0, '13' => 0, '6' => 0, '7' => 0, '8' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_fixed' => '1', 'default_argument_php' => '', 'default_argument_user' => 0, 'validate_argument_php' => '', 'validate_argument_node_type' => array( 'blog' => 0, 'ad' => 0, 'ad/image' => 0, 'usernode' => 0, 'lib_item' => 0, 'epoll' => 0, 'event' => 0, 'include' => 0, 'job_listing' => 0, 'orgnode' => 0, 'page' => 0, 'pressrelease' => 0, 'promo' => 0, 'slideshow' => 0, 'wikipage' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '117' => 0, '25' => 0, '114' => 0, '112' => 0, '111' => 0, '100' => 0, '120' => 0, '3' => 0, '128' => 0, '116' => 0, '132' => 0, '110' => 0, '108' => 0, '119' => 0, '118' => 0, '1' => 0, '101' => 0, '109' => 0, '102' => 0, '123' => 0, '130' => 0, '129' => 0, '125' => 0, '126' => 0, '11' => 0, '124' => 0, '131' => 0, ), 'validate_argument_type' => 'tid', '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', ), )); $handler->override_option('filters', array( 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array( 'blog' => 'blog', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Blogs'); $handler->override_option('items_per_page', 25); $handler->override_option('use_pager', '1'); $handler->override_option('style_plugin', 'table'); $handler->override_option('row_plugin', 'node');