IMC-York/Drupal/Upgrade/ViewsNewswire
(Redirected from IMC-York/Upgrade/ViewsNewswire)
Jump to navigation
Jump to search
$view = new stdClass(); $view->name = 'Newswire'; $view->description = ''; $view->access = array ( ); $view->view_args_php = ''; $view->page = TRUE; $view->page_title = ''; $view->page_header = ''; $view->page_header_format = '4'; $view->page_footer = ''; $view->page_footer_format = '4'; $view->page_empty = ''; $view->page_empty_format = '4'; $view->page_type = 'teaser'; $view->url = 'newswire'; $view->use_pager = TRUE; $view->nodes_per_page = '10'; $view->menu = TRUE; $view->menu_title = ''; $view->menu_tab = FALSE; $view->menu_tab_default = FALSE; $view->menu_tab_weight = '0'; $view->block = TRUE; $view->block_title = 'Newswire'; $view->block_header = ''; $view->block_header_format = '4'; $view->block_footer = ''; $view->block_footer_format = '4'; $view->block_empty = ''; $view->block_empty_format = '4'; $view->block_type = 'list'; $view->nodes_per_block = '10'; $view->block_more = TRUE; $view->block_use_page_header = FALSE; $view->block_use_page_footer = FALSE; $view->block_use_page_empty = FALSE; $view->sort = array ( array ( 'tablename' => 'node', 'field' => 'created', 'sortorder' => 'DESC', 'options' => 'normal', ), ); $view->argument = array ( ); $view->field = array ( array ( 'tablename' => 'node', 'field' => 'title', 'label' => '', 'handler' => 'views_handler_field_nodelink', 'options' => 'link', ), ); $view->filter = array ( array ( 'tablename' => 'term_node_1', 'field' => 'tid', 'operator' => 'AND', 'options' => '', 'value' => array ( 0 => '1', ), ), ); $view->exposed_filter = array ( array ( 'tablename' => 'term_node_1', 'field' => 'tid', 'label' => '', 'optional' => '0', 'is_default' => '0', 'operator' => '0', 'single' => '0', ), ); $view->requires = array(node, term_node_1); $views[$view->name] = $view;