$view = new view; $view->name = 'NewForumPosts'; $view->description = 'Stellt die 3 neuesten Foren-Beiträge dar.'; $view->tag = 'newforumposts'; $view->base_table = 'node'; $view->human_name = 'Neueste Foren-Beiträge'; $view->core = 6; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Standards */ $handler = $view->new_display('default', 'Standards', 'default'); $handler->display->display_options['use_more_text'] = 'mehr'; $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['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'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '3'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'fields'; /* Feld: Beitrag: 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'; /* Feld: Beitrag: Letzter Kommentarautor */ $handler->display->display_options['fields']['last_comment_name']['id'] = 'last_comment_name'; $handler->display->display_options['fields']['last_comment_name']['table'] = 'node_comment_statistics'; $handler->display->display_options['fields']['last_comment_name']['field'] = 'last_comment_name'; $handler->display->display_options['fields']['last_comment_name']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['make_link'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['absolute'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['external'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['last_comment_name']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['last_comment_name']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['trim'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['html'] = 0; $handler->display->display_options['fields']['last_comment_name']['element_type'] = 'span'; $handler->display->display_options['fields']['last_comment_name']['element_label_type'] = 'span'; $handler->display->display_options['fields']['last_comment_name']['element_label_colon'] = 1; $handler->display->display_options['fields']['last_comment_name']['element_default_classes'] = 1; $handler->display->display_options['fields']['last_comment_name']['hide_empty'] = 1; $handler->display->display_options['fields']['last_comment_name']['empty_zero'] = 0; $handler->display->display_options['fields']['last_comment_name']['hide_alter_empty'] = 1; /* Sortierkriterien: Beitrag: Aktualisierungs-/Kommentarzeitpunkt */ $handler->display->display_options['sorts']['last_updated']['id'] = 'last_updated'; $handler->display->display_options['sorts']['last_updated']['table'] = 'node_comment_statistics'; $handler->display->display_options['sorts']['last_updated']['field'] = 'last_updated'; $handler->display->display_options['sorts']['last_updated']['order'] = 'DESC'; /* Filter: Beitrag: 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( 'forum' => 'forum', ); /* Filter: Beitrag: Aktualisierungs-/Kommentarzeitpunkt */ $handler->display->display_options['filters']['last_updated']['id'] = 'last_updated'; $handler->display->display_options['filters']['last_updated']['table'] = 'node_comment_statistics'; $handler->display->display_options['filters']['last_updated']['field'] = 'last_updated'; $handler->display->display_options['filters']['last_updated']['operator'] = '<='; $handler->display->display_options['filters']['last_updated']['value']['value'] = '+7 days'; $handler->display->display_options['filters']['last_updated']['value']['type'] = 'offset'; $handler->display->display_options['filters']['last_updated']['allow_null'] = 1; /* Filter: Beitrag: 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'; /* Filter: Zustand der Inhaltsberechtigungen: Zugriff */ $handler->display->display_options['filters']['nid']['id'] = 'nid'; $handler->display->display_options['filters']['nid']['table'] = 'node_access'; $handler->display->display_options['filters']['nid']['field'] = 'nid'; /* Display: Block */ $handler = $view->new_display('block', 'Block', 'block_1'); $handler->display->display_options['defaults']['use_ajax'] = FALSE; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; $handler->display->display_options['style_options']['columns'] = array( 'title' => 'title', 'last_comment_name' => 'last_comment_name', ); $handler->display->display_options['style_options']['default'] = '-1'; $handler->display->display_options['style_options']['info'] = array( 'title' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), 'last_comment_name' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), ); $handler->display->display_options['style_options']['override'] = 0; $handler->display->display_options['style_options']['sticky'] = 0; $handler->display->display_options['style_options']['empty_table'] = 0; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['relationships'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* Feld: Beitrag: 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']['label'] = ''; $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; /* Feld: Beitrag: Letzter Kommentarautor */ $handler->display->display_options['fields']['last_comment_name']['id'] = 'last_comment_name'; $handler->display->display_options['fields']['last_comment_name']['table'] = 'node_comment_statistics'; $handler->display->display_options['fields']['last_comment_name']['field'] = 'last_comment_name'; $handler->display->display_options['fields']['last_comment_name']['label'] = ''; $handler->display->display_options['fields']['last_comment_name']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['make_link'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['absolute'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['external'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['last_comment_name']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['last_comment_name']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['trim'] = 0; $handler->display->display_options['fields']['last_comment_name']['alter']['html'] = 0; $handler->display->display_options['fields']['last_comment_name']['element_label_colon'] = 1; $handler->display->display_options['fields']['last_comment_name']['element_default_classes'] = 1; $handler->display->display_options['fields']['last_comment_name']['hide_empty'] = 1; $handler->display->display_options['fields']['last_comment_name']['empty_zero'] = 0; $handler->display->display_options['fields']['last_comment_name']['hide_alter_empty'] = 1; $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter: Beitrag: 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( 'forum' => 'forum', ); /* Filter: Beitrag: Aktualisierungs-/Kommentarzeitpunkt */ $handler->display->display_options['filters']['last_updated']['id'] = 'last_updated'; $handler->display->display_options['filters']['last_updated']['table'] = 'node_comment_statistics'; $handler->display->display_options['filters']['last_updated']['field'] = 'last_updated'; $handler->display->display_options['filters']['last_updated']['operator'] = '<='; $handler->display->display_options['filters']['last_updated']['value']['value'] = '+7 days'; $handler->display->display_options['filters']['last_updated']['value']['type'] = 'offset'; $handler->display->display_options['filters']['last_updated']['allow_null'] = 1; /* Filter: Beitrag: 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'; $translatables['NewForumPosts'] = array( t('Standards'), t('mehr'), t('Anwenden'), t('Zurücksetzen'), t('Sortieren nach'), t('Asc'), t('Desc'), t('Titel'), t('Letzter Kommentarautor'), t('Block'), );