name = 'faq'; $view->description = 'FAQ listings'; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'FAQ'; $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'] = 'FAQ'; $handler->display->display_options['use_more'] = TRUE; $handler->display->display_options['use_more_always'] = TRUE; $handler->display->display_options['use_more_text'] = 'View all FAQs'; $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'] = 'node'; /* 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']['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']['word_boundary'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $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']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; /* 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'; /* 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'] = 0; $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( 'faq' => 'faq', ); /* Filter criterion: Content translation: Language */ $handler->display->display_options['filters']['language']['id'] = 'language'; $handler->display->display_options['filters']['language']['table'] = 'node'; $handler->display->display_options['filters']['language']['field'] = 'language'; $handler->display->display_options['filters']['language']['value'] = array( '***CURRENT_LANGUAGE***' => '***CURRENT_LANGUAGE***', 'und' => 'und', ); /* Display: Block - Recent FAQs */ $handler = $view->new_display('block', 'Block - Recent FAQs', 'faq_recent'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Recent FAQs'; $handler->display->display_options['defaults']['use_more'] = FALSE; $handler->display->display_options['use_more'] = TRUE; $handler->display->display_options['use_more_always'] = TRUE; $handler->display->display_options['use_more_text'] = 'View all FAQs'; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'list'; $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['block_description'] = 'Recent FAQs'; /* Display: Block - Random FAQs */ $handler = $view->new_display('block', 'Block - Random FAQs', 'faq_random'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Random FAQs'; $handler->display->display_options['defaults']['use_more'] = FALSE; $handler->display->display_options['use_more'] = TRUE; $handler->display->display_options['use_more_always'] = TRUE; $handler->display->display_options['use_more_text'] = 'View all FAQs'; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'some'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'list'; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $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; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['sorts'] = FALSE; /* Sort criterion: Global: Random */ $handler->display->display_options['sorts']['random']['id'] = 'random'; $handler->display->display_options['sorts']['random']['table'] = 'views'; $handler->display->display_options['sorts']['random']['field'] = 'random'; $handler->display->display_options['block_description'] = 'Random FAQs'; /* Display: Page - Questions Inline */ $handler = $view->new_display('page', 'Page - Questions Inline', 'page'); $handler->display->display_options['enabled'] = FALSE; $handler->display->display_options['path'] = 'faq-questions-inline'; /* Display: Page - Questions Top */ $handler = $view->new_display('page', 'Page - Questions Top', 'page_1'); $handler->display->display_options['enabled'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $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; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* Field: Content: Nid */ $handler->display->display_options['fields']['nid']['id'] = 'nid'; $handler->display->display_options['fields']['nid']['table'] = 'node'; $handler->display->display_options['fields']['nid']['field'] = 'nid'; $handler->display->display_options['fields']['nid']['label'] = ''; $handler->display->display_options['fields']['nid']['exclude'] = TRUE; $handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['nid']['alter']['make_link'] = 0; $handler->display->display_options['fields']['nid']['alter']['absolute'] = 0; $handler->display->display_options['fields']['nid']['alter']['external'] = 0; $handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['nid']['alter']['trim'] = 0; $handler->display->display_options['fields']['nid']['alter']['html'] = 0; $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['nid']['element_default_classes'] = 1; $handler->display->display_options['fields']['nid']['hide_empty'] = 0; $handler->display->display_options['fields']['nid']['empty_zero'] = 0; $handler->display->display_options['fields']['nid']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['nid']['link_to_node'] = 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']['label'] = ''; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 1; $handler->display->display_options['fields']['title']['alter']['text'] = '

[title]

'; $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'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $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'] = FALSE; $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'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 0; /* Field: Content: Body */ $handler->display->display_options['fields']['body']['id'] = 'body'; $handler->display->display_options['fields']['body']['table'] = 'field_data_body'; $handler->display->display_options['fields']['body']['field'] = 'body'; $handler->display->display_options['fields']['body']['label'] = ''; $handler->display->display_options['fields']['body']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['body']['alter']['make_link'] = 0; $handler->display->display_options['fields']['body']['alter']['absolute'] = 0; $handler->display->display_options['fields']['body']['alter']['external'] = 0; $handler->display->display_options['fields']['body']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['body']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['body']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['body']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['body']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['body']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['body']['alter']['trim'] = 0; $handler->display->display_options['fields']['body']['alter']['html'] = 0; $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['body']['element_default_classes'] = 1; $handler->display->display_options['fields']['body']['hide_empty'] = 0; $handler->display->display_options['fields']['body']['empty_zero'] = 0; $handler->display->display_options['fields']['body']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['body']['field_api_classes'] = 0; $handler->display->display_options['path'] = 'faq-questions-top'; /* Display: Attachment - Questions Top */ $handler = $view->new_display('attachment', 'Attachment - Questions Top', 'attachment_1'); $handler->display->display_options['enabled'] = FALSE; $handler->display->display_options['defaults']['use_more'] = FALSE; $handler->display->display_options['use_more_always'] = TRUE; $handler->display->display_options['use_more_text'] = 'View all FAQs'; $handler->display->display_options['defaults']['link_display'] = FALSE; $handler->display->display_options['link_display'] = 'page_1'; $handler->display->display_options['pager']['type'] = 'none'; $handler->display->display_options['pager']['options']['offset'] = '0'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'list'; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $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; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* Field: Content: Nid */ $handler->display->display_options['fields']['nid']['id'] = 'nid'; $handler->display->display_options['fields']['nid']['table'] = 'node'; $handler->display->display_options['fields']['nid']['field'] = 'nid'; $handler->display->display_options['fields']['nid']['label'] = ''; $handler->display->display_options['fields']['nid']['exclude'] = TRUE; $handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['nid']['alter']['make_link'] = 0; $handler->display->display_options['fields']['nid']['alter']['absolute'] = 0; $handler->display->display_options['fields']['nid']['alter']['external'] = 0; $handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['nid']['alter']['trim'] = 0; $handler->display->display_options['fields']['nid']['alter']['html'] = 0; $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['nid']['element_default_classes'] = 1; $handler->display->display_options['fields']['nid']['hide_empty'] = 0; $handler->display->display_options['fields']['nid']['empty_zero'] = 0; $handler->display->display_options['fields']['nid']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['nid']['link_to_node'] = 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']['label'] = ''; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 1; $handler->display->display_options['fields']['title']['alter']['path'] = 'faq-questions-top#n[nid]'; $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'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $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'] = FALSE; $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'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 0; $handler->display->display_options['displays'] = array( 'page_1' => 'page_1', 'default' => 0, 'page' => 0, 'block' => 0, 'block_1' => 0, ); $handler->display->display_options['inherit_exposed_filters'] = 1; /* Display: Page - New Page */ $handler = $view->new_display('page', 'Page - New Page', 'page_2'); $handler->display->display_options['enabled'] = FALSE; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'list'; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $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; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* 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']['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']['word_boundary'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $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']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; $handler->display->display_options['path'] = 'faq-new-page'; /* Display: Page - Categories Inline - New Page */ $handler = $view->new_display('page', 'Page - Categories Inline - New Page', 'page_3'); $handler->display->display_options['enabled'] = FALSE; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'list'; $handler->display->display_options['style_options']['grouping'] = 'field_category'; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; $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; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['fields'] = FALSE; /* 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']['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']['word_boundary'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $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']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; /* Field: Content: Category */ $handler->display->display_options['fields']['field_category']['id'] = 'field_category'; $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category'; $handler->display->display_options['fields']['field_category']['field'] = 'field_category'; $handler->display->display_options['fields']['field_category']['label'] = ''; $handler->display->display_options['fields']['field_category']['exclude'] = TRUE; $handler->display->display_options['fields']['field_category']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['field_category']['alter']['make_link'] = 0; $handler->display->display_options['fields']['field_category']['alter']['absolute'] = 0; $handler->display->display_options['fields']['field_category']['alter']['external'] = 0; $handler->display->display_options['fields']['field_category']['alter']['replace_spaces'] = 0; $handler->display->display_options['fields']['field_category']['alter']['trim_whitespace'] = 0; $handler->display->display_options['fields']['field_category']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['field_category']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['field_category']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['field_category']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['field_category']['alter']['trim'] = 0; $handler->display->display_options['fields']['field_category']['alter']['html'] = 0; $handler->display->display_options['fields']['field_category']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_category']['element_default_classes'] = 1; $handler->display->display_options['fields']['field_category']['hide_empty'] = 0; $handler->display->display_options['fields']['field_category']['empty_zero'] = 0; $handler->display->display_options['fields']['field_category']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['field_category']['type'] = 'taxonomy_term_reference_plain'; $handler->display->display_options['fields']['field_category']['field_api_classes'] = 0; $handler->display->display_options['path'] = 'faq-categories-inline-new-page'; $translatables['faq'] = array( t('Master'), t('FAQ'), t('View all FAQs'), t('Apply'), t('Reset'), t('Sort by'), t('Asc'), t('Desc'), t('Items per page'), t('- All -'), t('Offset'), t('Block - Recent FAQs'), t('Recent FAQs'), t('Block - Random FAQs'), t('Random FAQs'), t('Page - Questions Inline'), t('more'), t('Page - Questions Top'), t('

[title]

'), t('Attachment - Questions Top'), t('faq-questions-top#n[nid]'), t('Page - New Page'), t('Page - Categories Inline - New Page'), ); $export[$view->name] = $view; return $export; }