Created
May 27, 2012 13:50
-
-
Save desmondmorris/2814275 to your computer and use it in GitHub Desktop.
Terms for current node View
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$view = new view; | |
$view->name = 'terms'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'node'; | |
$view->human_name = '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['title'] = 'Terms'; | |
$handler->display->display_options['access']['type'] = 'perm'; | |
$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'] = '10'; | |
$handler->display->display_options['style_plugin'] = 'default'; | |
$handler->display->display_options['row_plugin'] = 'fields'; | |
$handler->display->display_options['row_options']['hide_empty'] = 0; | |
$handler->display->display_options['row_options']['default_field_elements'] = 1; | |
/* Field: Content: All taxonomy terms */ | |
$handler->display->display_options['fields']['term_node_tid']['id'] = 'term_node_tid'; | |
$handler->display->display_options['fields']['term_node_tid']['table'] = 'node'; | |
$handler->display->display_options['fields']['term_node_tid']['field'] = 'term_node_tid'; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['alter_text'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['make_link'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['absolute'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['external'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['replace_spaces'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['trim_whitespace'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['nl2br'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['word_boundary'] = 1; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['ellipsis'] = 1; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['more_link'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['strip_tags'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['trim'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['alter']['html'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['element_label_colon'] = 1; | |
$handler->display->display_options['fields']['term_node_tid']['element_default_classes'] = 1; | |
$handler->display->display_options['fields']['term_node_tid']['hide_empty'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['empty_zero'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['hide_alter_empty'] = 1; | |
$handler->display->display_options['fields']['term_node_tid']['link_to_taxonomy'] = 1; | |
$handler->display->display_options['fields']['term_node_tid']['limit'] = 0; | |
$handler->display->display_options['fields']['term_node_tid']['vocabularies'] = array( | |
'tags' => 0, | |
); | |
/* 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: Nid */ | |
$handler->display->display_options['arguments']['nid']['id'] = 'nid'; | |
$handler->display->display_options['arguments']['nid']['table'] = 'node'; | |
$handler->display->display_options['arguments']['nid']['field'] = 'nid'; | |
$handler->display->display_options['arguments']['nid']['default_action'] = 'default'; | |
$handler->display->display_options['arguments']['nid']['default_argument_type'] = 'node'; | |
$handler->display->display_options['arguments']['nid']['default_argument_skip_url'] = 0; | |
$handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0'; | |
$handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary'; | |
$handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25'; | |
$handler->display->display_options['arguments']['nid']['break_phrase'] = 0; | |
$handler->display->display_options['arguments']['nid']['not'] = 0; | |
/* Filter criterion: Content: Published */ | |
$handler->display->display_options['filters']['status']['id'] = 'status'; | |
$handler->display->display_options['filters']['status']['table'] = 'node'; | |
$handler->display->display_options['filters']['status']['field'] = 'status'; | |
$handler->display->display_options['filters']['status']['value'] = 1; | |
$handler->display->display_options['filters']['status']['group'] = 1; | |
$handler->display->display_options['filters']['status']['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']['value'] = array( | |
'article' => 'article', | |
); | |
/* Display: Page */ | |
$handler = $view->new_display('page', 'Page', 'page'); | |
$handler->display->display_options['path'] = 'terms'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment