faq.views_default.inc 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. <?php
  2. /**
  3. * @file
  4. * faq.views_default.inc
  5. */
  6. /**
  7. * Implementation of hook_views_default_views().
  8. */
  9. function faq_views_default_views() {
  10. $export = array();
  11. $view = new view();
  12. $view->name = 'faq';
  13. $view->description = 'FAQ listings';
  14. $view->tag = 'default';
  15. $view->base_table = 'node';
  16. $view->human_name = 'FAQ';
  17. $view->core = 7;
  18. $view->api_version = '3.0';
  19. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  20. /* Display: Master */
  21. $handler = $view->new_display('default', 'Master', 'default');
  22. $handler->display->display_options['title'] = 'FAQ';
  23. $handler->display->display_options['use_more'] = TRUE;
  24. $handler->display->display_options['use_more_always'] = TRUE;
  25. $handler->display->display_options['use_more_text'] = 'View all FAQs';
  26. $handler->display->display_options['access']['type'] = 'perm';
  27. $handler->display->display_options['cache']['type'] = 'none';
  28. $handler->display->display_options['query']['type'] = 'views_query';
  29. $handler->display->display_options['query']['options']['query_comment'] = FALSE;
  30. $handler->display->display_options['exposed_form']['type'] = 'basic';
  31. $handler->display->display_options['pager']['type'] = 'full';
  32. $handler->display->display_options['pager']['options']['items_per_page'] = '10';
  33. $handler->display->display_options['style_plugin'] = 'default';
  34. $handler->display->display_options['row_plugin'] = 'node';
  35. /* Field: Content: Title */
  36. $handler->display->display_options['fields']['title']['id'] = 'title';
  37. $handler->display->display_options['fields']['title']['table'] = 'node';
  38. $handler->display->display_options['fields']['title']['field'] = 'title';
  39. $handler->display->display_options['fields']['title']['label'] = '';
  40. $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
  41. $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
  42. $handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
  43. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
  44. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
  45. $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
  46. $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
  47. $handler->display->display_options['fields']['title']['alter']['html'] = 0;
  48. $handler->display->display_options['fields']['title']['hide_empty'] = 0;
  49. $handler->display->display_options['fields']['title']['empty_zero'] = 0;
  50. $handler->display->display_options['fields']['title']['link_to_node'] = 1;
  51. /* Sort criterion: Content: Sticky */
  52. $handler->display->display_options['sorts']['sticky']['id'] = 'sticky';
  53. $handler->display->display_options['sorts']['sticky']['table'] = 'node';
  54. $handler->display->display_options['sorts']['sticky']['field'] = 'sticky';
  55. $handler->display->display_options['sorts']['sticky']['order'] = 'DESC';
  56. /* Sort criterion: Content: Post date */
  57. $handler->display->display_options['sorts']['created']['id'] = 'created';
  58. $handler->display->display_options['sorts']['created']['table'] = 'node';
  59. $handler->display->display_options['sorts']['created']['field'] = 'created';
  60. $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  61. /* Filter criterion: Content: Published */
  62. $handler->display->display_options['filters']['status']['id'] = 'status';
  63. $handler->display->display_options['filters']['status']['table'] = 'node';
  64. $handler->display->display_options['filters']['status']['field'] = 'status';
  65. $handler->display->display_options['filters']['status']['value'] = 1;
  66. $handler->display->display_options['filters']['status']['group'] = 0;
  67. $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
  68. /* Filter criterion: Content: Type */
  69. $handler->display->display_options['filters']['type']['id'] = 'type';
  70. $handler->display->display_options['filters']['type']['table'] = 'node';
  71. $handler->display->display_options['filters']['type']['field'] = 'type';
  72. $handler->display->display_options['filters']['type']['value'] = array(
  73. 'faq' => 'faq',
  74. );
  75. /* Filter criterion: Content translation: Language */
  76. $handler->display->display_options['filters']['language']['id'] = 'language';
  77. $handler->display->display_options['filters']['language']['table'] = 'node';
  78. $handler->display->display_options['filters']['language']['field'] = 'language';
  79. $handler->display->display_options['filters']['language']['value'] = array(
  80. '***CURRENT_LANGUAGE***' => '***CURRENT_LANGUAGE***',
  81. 'und' => 'und',
  82. );
  83. /* Display: Block - Recent FAQs */
  84. $handler = $view->new_display('block', 'Block - Recent FAQs', 'faq_recent');
  85. $handler->display->display_options['defaults']['title'] = FALSE;
  86. $handler->display->display_options['title'] = 'Recent FAQs';
  87. $handler->display->display_options['defaults']['use_more'] = FALSE;
  88. $handler->display->display_options['use_more'] = TRUE;
  89. $handler->display->display_options['use_more_always'] = TRUE;
  90. $handler->display->display_options['use_more_text'] = 'View all FAQs';
  91. $handler->display->display_options['defaults']['pager'] = FALSE;
  92. $handler->display->display_options['pager']['type'] = 'some';
  93. $handler->display->display_options['pager']['options']['items_per_page'] = '5';
  94. $handler->display->display_options['pager']['options']['offset'] = '0';
  95. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  96. $handler->display->display_options['style_plugin'] = 'list';
  97. $handler->display->display_options['style_options']['grouping'] = '';
  98. $handler->display->display_options['defaults']['style_options'] = FALSE;
  99. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  100. $handler->display->display_options['row_plugin'] = 'fields';
  101. $handler->display->display_options['defaults']['row_options'] = FALSE;
  102. $handler->display->display_options['block_description'] = 'Recent FAQs';
  103. /* Display: Block - Random FAQs */
  104. $handler = $view->new_display('block', 'Block - Random FAQs', 'faq_random');
  105. $handler->display->display_options['defaults']['title'] = FALSE;
  106. $handler->display->display_options['title'] = 'Random FAQs';
  107. $handler->display->display_options['defaults']['use_more'] = FALSE;
  108. $handler->display->display_options['use_more'] = TRUE;
  109. $handler->display->display_options['use_more_always'] = TRUE;
  110. $handler->display->display_options['use_more_text'] = 'View all FAQs';
  111. $handler->display->display_options['defaults']['pager'] = FALSE;
  112. $handler->display->display_options['pager']['type'] = 'some';
  113. $handler->display->display_options['pager']['options']['items_per_page'] = '5';
  114. $handler->display->display_options['pager']['options']['offset'] = '0';
  115. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  116. $handler->display->display_options['style_plugin'] = 'list';
  117. $handler->display->display_options['defaults']['style_options'] = FALSE;
  118. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  119. $handler->display->display_options['row_plugin'] = 'fields';
  120. $handler->display->display_options['row_options']['hide_empty'] = 0;
  121. $handler->display->display_options['row_options']['default_field_elements'] = 1;
  122. $handler->display->display_options['defaults']['row_options'] = FALSE;
  123. $handler->display->display_options['defaults']['sorts'] = FALSE;
  124. /* Sort criterion: Global: Random */
  125. $handler->display->display_options['sorts']['random']['id'] = 'random';
  126. $handler->display->display_options['sorts']['random']['table'] = 'views';
  127. $handler->display->display_options['sorts']['random']['field'] = 'random';
  128. $handler->display->display_options['block_description'] = 'Random FAQs';
  129. /* Display: Page - Questions Inline */
  130. $handler = $view->new_display('page', 'Page - Questions Inline', 'page');
  131. $handler->display->display_options['enabled'] = FALSE;
  132. $handler->display->display_options['path'] = 'faq-questions-inline';
  133. /* Display: Page - Questions Top */
  134. $handler = $view->new_display('page', 'Page - Questions Top', 'page_1');
  135. $handler->display->display_options['enabled'] = FALSE;
  136. $handler->display->display_options['defaults']['pager'] = FALSE;
  137. $handler->display->display_options['pager']['type'] = 'none';
  138. $handler->display->display_options['pager']['options']['offset'] = '0';
  139. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  140. $handler->display->display_options['style_plugin'] = 'default';
  141. $handler->display->display_options['defaults']['style_options'] = FALSE;
  142. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  143. $handler->display->display_options['row_plugin'] = 'fields';
  144. $handler->display->display_options['row_options']['hide_empty'] = 0;
  145. $handler->display->display_options['row_options']['default_field_elements'] = 1;
  146. $handler->display->display_options['defaults']['row_options'] = FALSE;
  147. $handler->display->display_options['defaults']['fields'] = FALSE;
  148. /* Field: Content: Nid */
  149. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  150. $handler->display->display_options['fields']['nid']['table'] = 'node';
  151. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  152. $handler->display->display_options['fields']['nid']['label'] = '';
  153. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  154. $handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0;
  155. $handler->display->display_options['fields']['nid']['alter']['make_link'] = 0;
  156. $handler->display->display_options['fields']['nid']['alter']['absolute'] = 0;
  157. $handler->display->display_options['fields']['nid']['alter']['external'] = 0;
  158. $handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0;
  159. $handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0;
  160. $handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0;
  161. $handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1;
  162. $handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1;
  163. $handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0;
  164. $handler->display->display_options['fields']['nid']['alter']['trim'] = 0;
  165. $handler->display->display_options['fields']['nid']['alter']['html'] = 0;
  166. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  167. $handler->display->display_options['fields']['nid']['element_default_classes'] = 1;
  168. $handler->display->display_options['fields']['nid']['hide_empty'] = 0;
  169. $handler->display->display_options['fields']['nid']['empty_zero'] = 0;
  170. $handler->display->display_options['fields']['nid']['hide_alter_empty'] = 0;
  171. $handler->display->display_options['fields']['nid']['link_to_node'] = 0;
  172. /* Field: Content: Title */
  173. $handler->display->display_options['fields']['title']['id'] = 'title';
  174. $handler->display->display_options['fields']['title']['table'] = 'node';
  175. $handler->display->display_options['fields']['title']['field'] = 'title';
  176. $handler->display->display_options['fields']['title']['label'] = '';
  177. $handler->display->display_options['fields']['title']['alter']['alter_text'] = 1;
  178. $handler->display->display_options['fields']['title']['alter']['text'] = '<h3><a id="n[nid]">[title]</a></h3>';
  179. $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
  180. $handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
  181. $handler->display->display_options['fields']['title']['alter']['external'] = 0;
  182. $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0;
  183. $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0;
  184. $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0;
  185. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
  186. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
  187. $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
  188. $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
  189. $handler->display->display_options['fields']['title']['alter']['html'] = 0;
  190. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  191. $handler->display->display_options['fields']['title']['element_default_classes'] = 1;
  192. $handler->display->display_options['fields']['title']['hide_empty'] = 0;
  193. $handler->display->display_options['fields']['title']['empty_zero'] = 0;
  194. $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0;
  195. $handler->display->display_options['fields']['title']['link_to_node'] = 0;
  196. /* Field: Content: Body */
  197. $handler->display->display_options['fields']['body']['id'] = 'body';
  198. $handler->display->display_options['fields']['body']['table'] = 'field_data_body';
  199. $handler->display->display_options['fields']['body']['field'] = 'body';
  200. $handler->display->display_options['fields']['body']['label'] = '';
  201. $handler->display->display_options['fields']['body']['alter']['alter_text'] = 0;
  202. $handler->display->display_options['fields']['body']['alter']['make_link'] = 0;
  203. $handler->display->display_options['fields']['body']['alter']['absolute'] = 0;
  204. $handler->display->display_options['fields']['body']['alter']['external'] = 0;
  205. $handler->display->display_options['fields']['body']['alter']['replace_spaces'] = 0;
  206. $handler->display->display_options['fields']['body']['alter']['trim_whitespace'] = 0;
  207. $handler->display->display_options['fields']['body']['alter']['nl2br'] = 0;
  208. $handler->display->display_options['fields']['body']['alter']['word_boundary'] = 1;
  209. $handler->display->display_options['fields']['body']['alter']['ellipsis'] = 1;
  210. $handler->display->display_options['fields']['body']['alter']['strip_tags'] = 0;
  211. $handler->display->display_options['fields']['body']['alter']['trim'] = 0;
  212. $handler->display->display_options['fields']['body']['alter']['html'] = 0;
  213. $handler->display->display_options['fields']['body']['element_label_colon'] = FALSE;
  214. $handler->display->display_options['fields']['body']['element_default_classes'] = 1;
  215. $handler->display->display_options['fields']['body']['hide_empty'] = 0;
  216. $handler->display->display_options['fields']['body']['empty_zero'] = 0;
  217. $handler->display->display_options['fields']['body']['hide_alter_empty'] = 0;
  218. $handler->display->display_options['fields']['body']['field_api_classes'] = 0;
  219. $handler->display->display_options['path'] = 'faq-questions-top';
  220. /* Display: Attachment - Questions Top */
  221. $handler = $view->new_display('attachment', 'Attachment - Questions Top', 'attachment_1');
  222. $handler->display->display_options['enabled'] = FALSE;
  223. $handler->display->display_options['defaults']['use_more'] = FALSE;
  224. $handler->display->display_options['use_more_always'] = TRUE;
  225. $handler->display->display_options['use_more_text'] = 'View all FAQs';
  226. $handler->display->display_options['defaults']['link_display'] = FALSE;
  227. $handler->display->display_options['link_display'] = 'page_1';
  228. $handler->display->display_options['pager']['type'] = 'none';
  229. $handler->display->display_options['pager']['options']['offset'] = '0';
  230. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  231. $handler->display->display_options['style_plugin'] = 'list';
  232. $handler->display->display_options['defaults']['style_options'] = FALSE;
  233. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  234. $handler->display->display_options['row_plugin'] = 'fields';
  235. $handler->display->display_options['row_options']['hide_empty'] = 0;
  236. $handler->display->display_options['row_options']['default_field_elements'] = 1;
  237. $handler->display->display_options['defaults']['row_options'] = FALSE;
  238. $handler->display->display_options['defaults']['fields'] = FALSE;
  239. /* Field: Content: Nid */
  240. $handler->display->display_options['fields']['nid']['id'] = 'nid';
  241. $handler->display->display_options['fields']['nid']['table'] = 'node';
  242. $handler->display->display_options['fields']['nid']['field'] = 'nid';
  243. $handler->display->display_options['fields']['nid']['label'] = '';
  244. $handler->display->display_options['fields']['nid']['exclude'] = TRUE;
  245. $handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0;
  246. $handler->display->display_options['fields']['nid']['alter']['make_link'] = 0;
  247. $handler->display->display_options['fields']['nid']['alter']['absolute'] = 0;
  248. $handler->display->display_options['fields']['nid']['alter']['external'] = 0;
  249. $handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0;
  250. $handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0;
  251. $handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0;
  252. $handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1;
  253. $handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1;
  254. $handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0;
  255. $handler->display->display_options['fields']['nid']['alter']['trim'] = 0;
  256. $handler->display->display_options['fields']['nid']['alter']['html'] = 0;
  257. $handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
  258. $handler->display->display_options['fields']['nid']['element_default_classes'] = 1;
  259. $handler->display->display_options['fields']['nid']['hide_empty'] = 0;
  260. $handler->display->display_options['fields']['nid']['empty_zero'] = 0;
  261. $handler->display->display_options['fields']['nid']['hide_alter_empty'] = 0;
  262. $handler->display->display_options['fields']['nid']['link_to_node'] = 0;
  263. /* Field: Content: Title */
  264. $handler->display->display_options['fields']['title']['id'] = 'title';
  265. $handler->display->display_options['fields']['title']['table'] = 'node';
  266. $handler->display->display_options['fields']['title']['field'] = 'title';
  267. $handler->display->display_options['fields']['title']['label'] = '';
  268. $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
  269. $handler->display->display_options['fields']['title']['alter']['make_link'] = 1;
  270. $handler->display->display_options['fields']['title']['alter']['path'] = 'faq-questions-top#n[nid]';
  271. $handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
  272. $handler->display->display_options['fields']['title']['alter']['external'] = 0;
  273. $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0;
  274. $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0;
  275. $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0;
  276. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
  277. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
  278. $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
  279. $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
  280. $handler->display->display_options['fields']['title']['alter']['html'] = 0;
  281. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  282. $handler->display->display_options['fields']['title']['element_default_classes'] = 1;
  283. $handler->display->display_options['fields']['title']['hide_empty'] = 0;
  284. $handler->display->display_options['fields']['title']['empty_zero'] = 0;
  285. $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0;
  286. $handler->display->display_options['fields']['title']['link_to_node'] = 0;
  287. $handler->display->display_options['displays'] = array(
  288. 'page_1' => 'page_1',
  289. 'default' => 0,
  290. 'page' => 0,
  291. 'block' => 0,
  292. 'block_1' => 0,
  293. );
  294. $handler->display->display_options['inherit_exposed_filters'] = 1;
  295. /* Display: Page - New Page */
  296. $handler = $view->new_display('page', 'Page - New Page', 'page_2');
  297. $handler->display->display_options['enabled'] = FALSE;
  298. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  299. $handler->display->display_options['style_plugin'] = 'list';
  300. $handler->display->display_options['defaults']['style_options'] = FALSE;
  301. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  302. $handler->display->display_options['row_plugin'] = 'fields';
  303. $handler->display->display_options['row_options']['hide_empty'] = 0;
  304. $handler->display->display_options['row_options']['default_field_elements'] = 1;
  305. $handler->display->display_options['defaults']['row_options'] = FALSE;
  306. $handler->display->display_options['defaults']['fields'] = FALSE;
  307. /* Field: Content: Title */
  308. $handler->display->display_options['fields']['title']['id'] = 'title';
  309. $handler->display->display_options['fields']['title']['table'] = 'node';
  310. $handler->display->display_options['fields']['title']['field'] = 'title';
  311. $handler->display->display_options['fields']['title']['label'] = '';
  312. $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
  313. $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
  314. $handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
  315. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
  316. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
  317. $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
  318. $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
  319. $handler->display->display_options['fields']['title']['alter']['html'] = 0;
  320. $handler->display->display_options['fields']['title']['hide_empty'] = 0;
  321. $handler->display->display_options['fields']['title']['empty_zero'] = 0;
  322. $handler->display->display_options['fields']['title']['link_to_node'] = 1;
  323. $handler->display->display_options['path'] = 'faq-new-page';
  324. /* Display: Page - Categories Inline - New Page */
  325. $handler = $view->new_display('page', 'Page - Categories Inline - New Page', 'page_3');
  326. $handler->display->display_options['enabled'] = FALSE;
  327. $handler->display->display_options['defaults']['style_plugin'] = FALSE;
  328. $handler->display->display_options['style_plugin'] = 'list';
  329. $handler->display->display_options['style_options']['grouping'] = 'field_category';
  330. $handler->display->display_options['defaults']['style_options'] = FALSE;
  331. $handler->display->display_options['defaults']['row_plugin'] = FALSE;
  332. $handler->display->display_options['row_plugin'] = 'fields';
  333. $handler->display->display_options['row_options']['hide_empty'] = 0;
  334. $handler->display->display_options['row_options']['default_field_elements'] = 1;
  335. $handler->display->display_options['defaults']['row_options'] = FALSE;
  336. $handler->display->display_options['defaults']['fields'] = FALSE;
  337. /* Field: Content: Title */
  338. $handler->display->display_options['fields']['title']['id'] = 'title';
  339. $handler->display->display_options['fields']['title']['table'] = 'node';
  340. $handler->display->display_options['fields']['title']['field'] = 'title';
  341. $handler->display->display_options['fields']['title']['label'] = '';
  342. $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
  343. $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
  344. $handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
  345. $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
  346. $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
  347. $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
  348. $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
  349. $handler->display->display_options['fields']['title']['alter']['html'] = 0;
  350. $handler->display->display_options['fields']['title']['hide_empty'] = 0;
  351. $handler->display->display_options['fields']['title']['empty_zero'] = 0;
  352. $handler->display->display_options['fields']['title']['link_to_node'] = 1;
  353. /* Field: Content: Category */
  354. $handler->display->display_options['fields']['field_category']['id'] = 'field_category';
  355. $handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
  356. $handler->display->display_options['fields']['field_category']['field'] = 'field_category';
  357. $handler->display->display_options['fields']['field_category']['label'] = '';
  358. $handler->display->display_options['fields']['field_category']['exclude'] = TRUE;
  359. $handler->display->display_options['fields']['field_category']['alter']['alter_text'] = 0;
  360. $handler->display->display_options['fields']['field_category']['alter']['make_link'] = 0;
  361. $handler->display->display_options['fields']['field_category']['alter']['absolute'] = 0;
  362. $handler->display->display_options['fields']['field_category']['alter']['external'] = 0;
  363. $handler->display->display_options['fields']['field_category']['alter']['replace_spaces'] = 0;
  364. $handler->display->display_options['fields']['field_category']['alter']['trim_whitespace'] = 0;
  365. $handler->display->display_options['fields']['field_category']['alter']['nl2br'] = 0;
  366. $handler->display->display_options['fields']['field_category']['alter']['word_boundary'] = 1;
  367. $handler->display->display_options['fields']['field_category']['alter']['ellipsis'] = 1;
  368. $handler->display->display_options['fields']['field_category']['alter']['strip_tags'] = 0;
  369. $handler->display->display_options['fields']['field_category']['alter']['trim'] = 0;
  370. $handler->display->display_options['fields']['field_category']['alter']['html'] = 0;
  371. $handler->display->display_options['fields']['field_category']['element_label_colon'] = FALSE;
  372. $handler->display->display_options['fields']['field_category']['element_default_classes'] = 1;
  373. $handler->display->display_options['fields']['field_category']['hide_empty'] = 0;
  374. $handler->display->display_options['fields']['field_category']['empty_zero'] = 0;
  375. $handler->display->display_options['fields']['field_category']['hide_alter_empty'] = 0;
  376. $handler->display->display_options['fields']['field_category']['type'] = 'taxonomy_term_reference_plain';
  377. $handler->display->display_options['fields']['field_category']['field_api_classes'] = 0;
  378. $handler->display->display_options['path'] = 'faq-categories-inline-new-page';
  379. $translatables['faq'] = array(
  380. t('Master'),
  381. t('FAQ'),
  382. t('View all FAQs'),
  383. t('Apply'),
  384. t('Reset'),
  385. t('Sort by'),
  386. t('Asc'),
  387. t('Desc'),
  388. t('Items per page'),
  389. t('- All -'),
  390. t('Offset'),
  391. t('Block - Recent FAQs'),
  392. t('Recent FAQs'),
  393. t('Block - Random FAQs'),
  394. t('Random FAQs'),
  395. t('Page - Questions Inline'),
  396. t('more'),
  397. t('Page - Questions Top'),
  398. t('<h3><a id="n[nid]">[title]</a></h3>'),
  399. t('Attachment - Questions Top'),
  400. t('faq-questions-top#n[nid]'),
  401. t('Page - New Page'),
  402. t('Page - Categories Inline - New Page'),
  403. );
  404. $export[$view->name] = $view;
  405. return $export;
  406. }