$view = new view(); $view->name = 'downloads'; $view->description = ''; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'downloads'; $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'] = 'downloads'; $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'Weiter'; $handler->display->display_options['access']['type'] = 'role'; $handler->display->display_options['access']['role'] = array( 1 => '1', 15 => '15', 17 => '17', 2 => '2', 5 => '5', 9 => '9', 6 => '6', ); $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Anwenden'; $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Zurücksetzen'; $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Sortieren nach'; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['style_plugin'] = 'table'; /* Feld: Inhalt: Titel */ $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']['word_boundary'] = FALSE; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; /* Feld: Inhalt: 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']['exclude'] = TRUE; $handler->display->display_options['fields']['term_node_tid']['limit'] = TRUE; $handler->display->display_options['fields']['term_node_tid']['vocabularies'] = array( 'vocabulary_12' => 'vocabulary_12', 'vocabulary_7' => 0, 'vocabulary_17' => 0, 'vocabulary_22' => 0, 'vocabulary_14' => 0, 'vocabulary_8' => 0, 'vocabulary_4' => 0, 'vocabulary_20' => 0, 'vocabulary_19' => 0, 'vocabulary_9' => 0, 'vocabulary_13' => 0, 'vocabulary_23' => 0, 'vocabulary_6' => 0, 'vocabulary_10' => 0, 'vocabulary_18' => 0, 'vocabulary_24' => 0, 'vocabulary_16' => 0, ); /* Sortierkriterien: Inhalt: Titel */ $handler->display->display_options['sorts']['title']['id'] = 'title'; $handler->display->display_options['sorts']['title']['table'] = 'node'; $handler->display->display_options['sorts']['title']['field'] = 'title'; $handler->display->display_options['sorts']['title']['order'] = 'DESC'; /* Contextual filter: Inhalt: Has taxonomy term ID */ $handler->display->display_options['arguments']['tid']['id'] = 'tid'; $handler->display->display_options['arguments']['tid']['table'] = 'taxonomy_index'; $handler->display->display_options['arguments']['tid']['field'] = 'tid'; $handler->display->display_options['arguments']['tid']['exception']['title'] = 'Alle'; $handler->display->display_options['arguments']['tid']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['tid']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['tid']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['tid']['summary_options']['items_per_page'] = '25'; $handler->display->display_options['arguments']['tid']['specify_validation'] = TRUE; $handler->display->display_options['arguments']['tid']['validate']['type'] = 'taxonomy_term'; $handler->display->display_options['arguments']['tid']['validate_options']['vocabularies'] = array( 'vocabulary_12' => 'vocabulary_12', ); $handler->display->display_options['arguments']['tid']['validate']['fail'] = 'ignore'; /* Filter criterion: Inhalt: Veröffentlicht */ $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: Inhalt: Typ */ $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( 'dokument' => 'dokument', ); /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page'); $handler->display->display_options['field_language'] = '***DEFAULT_LANGUAGE***'; $handler->display->display_options['path'] = 'downloads'; $translatables['downloads'] = array( t('Master'), t('downloads'), t('Weiter'), t('Anwenden'), t('Zurücksetzen'), t('Sortieren nach'), t('Asc'), t('Desc'), t('Titel'), t('All taxonomy terms'), t('Alle'), t('Page'), );