$view = new view; $view->name = 'taxonomy_term'; $view->description = 'A view to emulate Drupal core\'s handling of taxonomy/term.'; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'Taxonomy Terms'; $view->core = 7; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['access']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['options']['items_per_page'] = '25'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['pager']['options']['id'] = '0'; $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all'] = 0; $handler->display->display_options['style_plugin'] = 'table'; $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'title' => 'title', 'created' => 'created', 'changed' => 'changed', ); $handler->display->display_options['style_options']['default'] = 'changed'; $handler->display->display_options['style_options']['info'] = array( 'title' => array( 'sortable' => 1, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', 'empty_column' => 0, ), 'created' => array( 'sortable' => 1, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', 'empty_column' => 0, ), 'changed' => array( 'sortable' => 1, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', 'empty_column' => 0, ), ); $handler->display->display_options['style_options']['override'] = 1; $handler->display->display_options['style_options']['sticky'] = 0; $handler->display->display_options['style_options']['summary'] = 'List of all content published under this sort criteria'; $handler->display->display_options['style_options']['empty_table'] = 0; /* Field: Content: Title */ $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; $handler->display->display_options['fields']['title']['alter']['external'] = 0; $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['title']['alter']['trim'] = 0; $handler->display->display_options['fields']['title']['alter']['html'] = 0; $handler->display->display_options['fields']['title']['element_label_colon'] = 1; $handler->display->display_options['fields']['title']['element_default_classes'] = 1; $handler->display->display_options['fields']['title']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; $handler->display->display_options['fields']['title']['hide_alter_empty'] = 1; $handler->display->display_options['fields']['title']['link_to_node'] = 1; /* Field: Content: Post date */ $handler->display->display_options['fields']['created']['id'] = 'created'; $handler->display->display_options['fields']['created']['table'] = 'node'; $handler->display->display_options['fields']['created']['field'] = 'created'; $handler->display->display_options['fields']['created']['label'] = 'Published on'; $handler->display->display_options['fields']['created']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['created']['alter']['make_link'] = 0; $handler->display->display_options['fields']['created']['alter']['absolute'] = 0; $handler->display->display_options['fields']['created']['alter']['external'] = 0; $handler->display->display_options['fields']['created']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['created']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['created']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['created']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['created']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['created']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['created']['alter']['trim'] = 0; $handler->display->display_options['fields']['created']['alter']['html'] = 0; $handler->display->display_options['fields']['created']['element_label_colon'] = 1; $handler->display->display_options['fields']['created']['element_default_classes'] = 1; $handler->display->display_options['fields']['created']['hide_empty'] = 0; $handler->display->display_options['fields']['created']['empty_zero'] = 0; $handler->display->display_options['fields']['created']['hide_alter_empty'] = 1; $handler->display->display_options['fields']['created']['date_format'] = 'short'; /* Field: Content: Updated date */ $handler->display->display_options['fields']['changed']['id'] = 'changed'; $handler->display->display_options['fields']['changed']['table'] = 'node'; $handler->display->display_options['fields']['changed']['field'] = 'changed'; $handler->display->display_options['fields']['changed']['label'] = 'Last updated'; $handler->display->display_options['fields']['changed']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['changed']['alter']['make_link'] = 0; $handler->display->display_options['fields']['changed']['alter']['absolute'] = 0; $handler->display->display_options['fields']['changed']['alter']['external'] = 0; $handler->display->display_options['fields']['changed']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['changed']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['changed']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['changed']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['changed']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['changed']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['changed']['alter']['trim'] = 0; $handler->display->display_options['fields']['changed']['alter']['html'] = 0; $handler->display->display_options['fields']['changed']['element_label_colon'] = 1; $handler->display->display_options['fields']['changed']['element_default_classes'] = 1; $handler->display->display_options['fields']['changed']['hide_empty'] = 0; $handler->display->display_options['fields']['changed']['empty_zero'] = 0; $handler->display->display_options['fields']['changed']['hide_alter_empty'] = 1; $handler->display->display_options['fields']['changed']['date_format'] = 'short'; /* Sort criterion: Content: Sticky */ $handler->display->display_options['sorts']['sticky']['id'] = 'sticky'; $handler->display->display_options['sorts']['sticky']['table'] = 'node'; $handler->display->display_options['sorts']['sticky']['field'] = 'sticky'; $handler->display->display_options['sorts']['sticky']['order'] = 'DESC'; /* Sort criterion: Content: Post date */ $handler->display->display_options['sorts']['created']['id'] = 'created'; $handler->display->display_options['sorts']['created']['table'] = 'node'; $handler->display->display_options['sorts']['created']['field'] = 'created'; $handler->display->display_options['sorts']['created']['order'] = 'DESC'; /* Contextual filter: Content: Has taxonomy term ID (with depth) */ $handler->display->display_options['arguments']['term_node_tid_depth']['id'] = 'term_node_tid_depth'; $handler->display->display_options['arguments']['term_node_tid_depth']['table'] = 'node'; $handler->display->display_options['arguments']['term_node_tid_depth']['field'] = 'term_node_tid_depth'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_action'] = 'not found'; $handler->display->display_options['arguments']['term_node_tid_depth']['exception']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['title'] = '%1'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['term_node_tid_depth']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['term_node_tid_depth']['specify_validation'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['validate']['type'] = 'taxonomy_term'; $handler->display->display_options['arguments']['term_node_tid_depth']['depth'] = '0'; $handler->display->display_options['arguments']['term_node_tid_depth']['break_phrase'] = 1; /* Contextual filter: Content: Has taxonomy term ID depth modifier */ $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['id'] = 'term_node_tid_depth_modifier'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['table'] = 'node'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['field'] = 'term_node_tid_depth_modifier'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['exception']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['specify_validation'] = 1; /* Filter criterion: Content: Published or admin */ $handler->display->display_options['filters']['status_extra']['id'] = 'status_extra'; $handler->display->display_options['filters']['status_extra']['table'] = 'node'; $handler->display->display_options['filters']['status_extra']['field'] = 'status_extra'; $handler->display->display_options['filters']['status_extra']['group'] = 0; $handler->display->display_options['filters']['status_extra']['expose']['operator'] = FALSE; /* Filter criterion: Content: Type */ $handler->display->display_options['filters']['type']['id'] = 'type'; $handler->display->display_options['filters']['type']['table'] = 'node'; $handler->display->display_options['filters']['type']['field'] = 'type'; $handler->display->display_options['filters']['type']['operator'] = 'not in'; $handler->display->display_options['filters']['type']['value'] = array( 'photo' => 'photo', ); /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page'); $handler->display->display_options['path'] = 'taxonomy/term/%'; /* Display: Feed */ $handler = $view->new_display('feed', 'Feed', 'feed'); $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['options']['items_per_page'] = 15; $handler->display->display_options['style_plugin'] = 'rss'; $handler->display->display_options['row_plugin'] = 'node_rss'; $handler->display->display_options['path'] = 'taxonomy/term/%/%/feed'; $handler->display->display_options['displays'] = array( 'page' => 'page', 'default' => 0, );