$view = new view; $view->name = 'research_news_primary_latest_old'; $view->description = 'Research News Primary Links Latest Old'; $view->tag = ''; $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( 'body' => array( 'label' => 'Display truncated, URL fine', '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, 'exclude' => 0, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'relationship' => 'none', ), 'tid' => array( 'label' => 'Topic', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 1, 'path' => '/research-news-primary-archive', '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, 'type' => 'separator', 'separator' => ', ', 'link_to_taxonomy' => 1, 'limit' => 1, 'vids' => array( '2' => 2, '3' => 0, '1' => 0, ), 'exclude' => 1, 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', ), 'title' => array( 'label' => 'Title fine, URL truncated', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 1, 'path' => '[body]', '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, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'created' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'created', 'table' => 'node', 'field' => 'created', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'name' => array( 'order' => 'ASC', 'id' => 'name', 'table' => 'term_data', 'field' => 'name', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'link' => 'link', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'created' => array( 'operator' => '>', 'value' => array( 'type' => 'offset', 'value' => '-200 days', 'min' => '', 'max' => '', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'created', 'table' => 'node', 'field' => 'created', 'relationship' => 'none', ), 'name' => array( 'operator' => 'contains', 'value' => 'Primary', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'case' => 1, 'id' => 'name', 'table' => 'term_data', 'field' => 'name', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Research News Links: Primary: Latest'); $handler->override_option('items_per_page', 200); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => 'tid', 'override' => 1, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'tid' => 'tid', 'body' => 'body', ), 'info' => array( 'tid' => array( 'separator' => '', ), 'body' => array( 'separator' => '', ), ), 'default' => '-1', )); $handler = $view->new_display('page', 'Page', 'page_1'); $handler->override_option('path', 'research-news-primary-latest-old'); $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', ));