$view = new view(); $view->name = 'testview'; $view->description = ''; $view->tag = 'default'; $view->base_table = 'users'; $view->human_name = 'Testview'; $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'] = 'Testview'; $handler->display->display_options['use_more_always'] = FALSE; $handler->display->display_options['use_more_text'] = 'mehr'; $handler->display->display_options['group_by'] = TRUE; $handler->display->display_options['access']['type'] = 'perm'; $handler->display->display_options['access']['perm'] = 'access user profiles'; $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['exposed_form']['options']['sort_asc_label'] = 'Aufsteigend'; $handler->display->display_options['exposed_form']['options']['sort_desc_label'] = 'Absteigend'; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['options']['items_per_page'] = '10'; $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Elemente pro Seite'; $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Alle -'; $handler->display->display_options['pager']['options']['tags']['first'] = '« erste Seite'; $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ vorherige Seite'; $handler->display->display_options['pager']['options']['tags']['next'] = 'nächste Seite ›'; $handler->display->display_options['pager']['options']['tags']['last'] = 'letzte Seite »'; $handler->display->display_options['style_plugin'] = 'table'; $handler->display->display_options['style_options']['columns'] = array( 'name' => 'name', ); $handler->display->display_options['style_options']['default'] = '-1'; $handler->display->display_options['style_options']['info'] = array( 'name' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', 'empty_column' => 0, ), ); /* Beziehung: Benutzer: Content authored */ $handler->display->display_options['relationships']['uid']['id'] = 'uid'; $handler->display->display_options['relationships']['uid']['table'] = 'users'; $handler->display->display_options['relationships']['uid']['field'] = 'uid'; /* Feld: Benutzer: Name */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'users'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['label'] = ''; $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE; $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE; /* Filterkriterium: Benutzer: Aktiv */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'users'; $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; /* Filterkriterium: COUNT(DISTINCT Inhalt: Beitrags-ID) */ $handler->display->display_options['filters']['nid']['id'] = 'nid'; $handler->display->display_options['filters']['nid']['table'] = 'node'; $handler->display->display_options['filters']['nid']['field'] = 'nid'; $handler->display->display_options['filters']['nid']['relationship'] = 'uid'; $handler->display->display_options['filters']['nid']['group_type'] = 'count_distinct'; $handler->display->display_options['filters']['nid']['value']['value'] = '0'; /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page'); $handler->display->display_options['path'] = 'testview'; $translatables['testview'] = array( t('Master'), t('Testview'), t('mehr'), t('Anwenden'), t('Zurücksetzen'), t('Sortieren nach'), t('Aufsteigend'), t('Absteigend'), t('Elemente pro Seite'), t('- Alle -'), t('Offset'), t('« erste Seite'), t('‹ vorherige Seite'), t('nächste Seite ›'), t('letzte Seite »'), t('Beiträge'), t('Page'), );