You are here

views.view.cms_blog_teasers.yml in Glazed CMS Blog 8

config/install/views.view.cms_blog_teasers.yml

File

config/install/views.view.cms_blog_teasers.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - field.storage.node.field_cms_blog_category
  6. - field.storage.node.field_cms_page_body
  7. - field.storage.node.field_cms_page_image
  8. - image.style.cms_bootstrap_1_3_square
  9. - node.type.cms_blog
  10. - taxonomy.vocabulary.cms_blog_category
  11. module:
  12. - image
  13. - node
  14. - smart_trim
  15. - taxonomy
  16. - user
  17. id: cms_blog_teasers
  18. label: 'Blog Teasers'
  19. module: views
  20. description: 'Displays recent blog entries in a blog.'
  21. tag: cms_blog
  22. base_table: node_field_data
  23. base_field: nid
  24. core: 8.x
  25. display:
  26. default:
  27. display_plugin: default
  28. id: default
  29. display_title: Master
  30. position: 0
  31. display_options:
  32. access:
  33. type: perm
  34. options:
  35. perm: 'access content'
  36. cache:
  37. type: tag
  38. options: { }
  39. query:
  40. type: views_query
  41. options:
  42. disable_sql_rewrite: false
  43. distinct: false
  44. replica: false
  45. query_comment: ''
  46. query_tags: { }
  47. exposed_form:
  48. type: basic
  49. options:
  50. submit_button: Apply
  51. reset_button: false
  52. reset_button_label: Reset
  53. exposed_sorts_label: 'Sort by'
  54. expose_sort_order: true
  55. sort_asc_label: Asc
  56. sort_desc_label: Desc
  57. pager:
  58. type: some
  59. options:
  60. items_per_page: 2
  61. offset: 0
  62. style:
  63. type: html_list
  64. options:
  65. grouping: { }
  66. row_class: row
  67. default_row_class: true
  68. type: ul
  69. wrapper_class: ''
  70. class: nav
  71. row:
  72. type: fields
  73. fields:
  74. field_cms_page_image:
  75. id: field_cms_page_image
  76. table: node__field_cms_page_image
  77. field: field_cms_page_image
  78. relationship: none
  79. group_type: group
  80. admin_label: ''
  81. label: ''
  82. exclude: true
  83. alter:
  84. alter_text: false
  85. text: ''
  86. make_link: false
  87. path: ''
  88. absolute: false
  89. external: false
  90. replace_spaces: false
  91. path_case: none
  92. trim_whitespace: false
  93. alt: ''
  94. rel: ''
  95. link_class: ''
  96. prefix: ''
  97. suffix: ''
  98. target: ''
  99. nl2br: false
  100. max_length: 0
  101. word_boundary: true
  102. ellipsis: true
  103. more_link: false
  104. more_link_text: ''
  105. more_link_path: ''
  106. strip_tags: false
  107. trim: false
  108. preserve_tags: ''
  109. html: false
  110. element_type: ''
  111. element_class: ''
  112. element_label_type: ''
  113. element_label_class: ''
  114. element_label_colon: false
  115. element_wrapper_type: ''
  116. element_wrapper_class: ''
  117. element_default_classes: true
  118. empty: ''
  119. hide_empty: false
  120. empty_zero: false
  121. hide_alter_empty: true
  122. click_sort_column: target_id
  123. type: image
  124. settings:
  125. image_style: cms_bootstrap_1_3_square
  126. image_link: content
  127. group_column: ''
  128. group_columns: { }
  129. group_rows: true
  130. delta_limit: 1
  131. delta_offset: 0
  132. delta_reversed: false
  133. delta_first_last: false
  134. multi_type: separator
  135. separator: ', '
  136. field_api_classes: false
  137. plugin_id: field
  138. field_cms_blog_category:
  139. id: field_cms_blog_category
  140. table: node__field_cms_blog_category
  141. field: field_cms_blog_category
  142. relationship: none
  143. group_type: group
  144. admin_label: ''
  145. label: ''
  146. exclude: true
  147. alter:
  148. alter_text: false
  149. text: ''
  150. make_link: false
  151. path: ''
  152. absolute: false
  153. external: false
  154. replace_spaces: false
  155. path_case: none
  156. trim_whitespace: false
  157. alt: ''
  158. rel: ''
  159. link_class: ''
  160. prefix: ''
  161. suffix: ''
  162. target: ''
  163. nl2br: false
  164. max_length: 0
  165. word_boundary: true
  166. ellipsis: true
  167. more_link: false
  168. more_link_text: ''
  169. more_link_path: ''
  170. strip_tags: false
  171. trim: false
  172. preserve_tags: ''
  173. html: false
  174. element_type: ''
  175. element_class: ''
  176. element_label_type: ''
  177. element_label_class: ''
  178. element_label_colon: false
  179. element_wrapper_type: ''
  180. element_wrapper_class: ''
  181. element_default_classes: true
  182. empty: ''
  183. hide_empty: false
  184. empty_zero: false
  185. hide_alter_empty: true
  186. click_sort_column: target_id
  187. type: entity_reference_label
  188. settings:
  189. link: true
  190. group_column: target_id
  191. group_columns: { }
  192. group_rows: true
  193. delta_limit: 0
  194. delta_offset: 0
  195. delta_reversed: false
  196. delta_first_last: false
  197. multi_type: separator
  198. separator: ', '
  199. field_api_classes: false
  200. plugin_id: field
  201. title:
  202. id: title
  203. table: node_field_data
  204. field: title
  205. relationship: none
  206. group_type: group
  207. admin_label: ''
  208. label: ''
  209. exclude: true
  210. alter:
  211. alter_text: false
  212. text: ''
  213. make_link: false
  214. path: ''
  215. absolute: false
  216. external: false
  217. replace_spaces: false
  218. path_case: none
  219. trim_whitespace: false
  220. alt: ''
  221. rel: ''
  222. link_class: ''
  223. prefix: ''
  224. suffix: ''
  225. target: ''
  226. nl2br: false
  227. max_length: 0
  228. word_boundary: true
  229. ellipsis: true
  230. more_link: false
  231. more_link_text: ''
  232. more_link_path: ''
  233. strip_tags: false
  234. trim: false
  235. preserve_tags: ''
  236. html: false
  237. element_type: ''
  238. element_class: ''
  239. element_label_type: ''
  240. element_label_class: ''
  241. element_label_colon: false
  242. element_wrapper_type: ''
  243. element_wrapper_class: ''
  244. element_default_classes: true
  245. empty: ''
  246. hide_empty: false
  247. empty_zero: false
  248. hide_alter_empty: true
  249. click_sort_column: value
  250. type: string
  251. settings:
  252. link_to_entity: false
  253. group_column: value
  254. group_columns: { }
  255. group_rows: true
  256. delta_limit: 0
  257. delta_offset: 0
  258. delta_reversed: false
  259. delta_first_last: false
  260. multi_type: separator
  261. separator: ', '
  262. field_api_classes: false
  263. plugin_id: field
  264. field_cms_page_body:
  265. id: field_cms_page_body
  266. table: node__field_cms_page_body
  267. field: field_cms_page_body
  268. relationship: none
  269. group_type: group
  270. admin_label: ''
  271. label: ''
  272. exclude: true
  273. alter:
  274. alter_text: false
  275. text: ''
  276. make_link: false
  277. path: ''
  278. absolute: false
  279. external: false
  280. replace_spaces: false
  281. path_case: none
  282. trim_whitespace: false
  283. alt: ''
  284. rel: ''
  285. link_class: ''
  286. prefix: ''
  287. suffix: ''
  288. target: ''
  289. nl2br: false
  290. max_length: 0
  291. word_boundary: true
  292. ellipsis: true
  293. more_link: false
  294. more_link_text: ''
  295. more_link_path: ''
  296. strip_tags: false
  297. trim: false
  298. preserve_tags: ''
  299. html: false
  300. element_type: ''
  301. element_class: ''
  302. element_label_type: ''
  303. element_label_class: ''
  304. element_label_colon: false
  305. element_wrapper_type: ''
  306. element_wrapper_class: ''
  307. element_default_classes: true
  308. empty: ''
  309. hide_empty: false
  310. empty_zero: false
  311. hide_alter_empty: true
  312. click_sort_column: value
  313. type: smart_trim
  314. settings:
  315. trim_length: 150
  316. trim_type: chars
  317. trim_suffix: ...
  318. more_link: false
  319. more_text: More
  320. summary_handler: full
  321. trim_options:
  322. text: true
  323. group_column: value
  324. group_columns: { }
  325. group_rows: true
  326. delta_limit: 0
  327. delta_offset: 0
  328. delta_reversed: false
  329. delta_first_last: false
  330. multi_type: separator
  331. separator: ', '
  332. field_api_classes: false
  333. plugin_id: field
  334. created:
  335. id: created
  336. table: node_field_data
  337. field: created
  338. relationship: none
  339. group_type: group
  340. admin_label: ''
  341. label: ''
  342. exclude: true
  343. alter:
  344. alter_text: false
  345. text: ''
  346. make_link: false
  347. path: ''
  348. absolute: false
  349. external: false
  350. replace_spaces: false
  351. path_case: none
  352. trim_whitespace: false
  353. alt: ''
  354. rel: ''
  355. link_class: ''
  356. prefix: ''
  357. suffix: ''
  358. target: ''
  359. nl2br: false
  360. max_length: 0
  361. word_boundary: true
  362. ellipsis: true
  363. more_link: false
  364. more_link_text: ''
  365. more_link_path: ''
  366. strip_tags: false
  367. trim: false
  368. preserve_tags: ''
  369. html: false
  370. element_type: ''
  371. element_class: ''
  372. element_label_type: ''
  373. element_label_class: ''
  374. element_label_colon: false
  375. element_wrapper_type: ''
  376. element_wrapper_class: ''
  377. element_default_classes: true
  378. empty: ''
  379. hide_empty: false
  380. empty_zero: false
  381. hide_alter_empty: true
  382. click_sort_column: value
  383. type: timestamp
  384. settings:
  385. date_format: custom
  386. custom_date_format: 'M j, Y'
  387. timezone: ''
  388. group_column: value
  389. group_columns: { }
  390. group_rows: true
  391. delta_limit: 0
  392. delta_offset: 0
  393. delta_reversed: false
  394. delta_first_last: false
  395. multi_type: separator
  396. separator: ', '
  397. field_api_classes: false
  398. entity_type: node
  399. entity_field: created
  400. plugin_id: field
  401. nothing:
  402. id: nothing
  403. table: views
  404. field: nothing
  405. relationship: none
  406. group_type: group
  407. admin_label: 'All fields'
  408. label: ''
  409. exclude: false
  410. alter:
  411. alter_text: true
  412. text: "<div class=\"col-xs-4 col-sm-4\">{{ field_cms_page_image }}</div>\n<div class=\"col-sm-8\">\n <div class=\"glazed-util-text-muted glazed-util-text-uppercase glazed-util-text-bold\">{{ field_cms_blog_category }}</div>\n <h3 class=\"glazed-util-text-uppercase\">{{ title }}</h3>\n <div class=\"lead\">{{ field_cms_page_body }}</div>\n <p class=\"text-muted glazed-util-text-italic\">Posted on {{ created }}</p>\n</div>"
  413. make_link: false
  414. path: ''
  415. absolute: false
  416. external: false
  417. replace_spaces: false
  418. path_case: none
  419. trim_whitespace: false
  420. alt: ''
  421. rel: ''
  422. link_class: ''
  423. prefix: ''
  424. suffix: ''
  425. target: ''
  426. nl2br: false
  427. max_length: 0
  428. word_boundary: true
  429. ellipsis: true
  430. more_link: false
  431. more_link_text: ''
  432. more_link_path: ''
  433. strip_tags: false
  434. trim: false
  435. preserve_tags: ''
  436. html: false
  437. element_type: ''
  438. element_class: ''
  439. element_label_type: ''
  440. element_label_class: ''
  441. element_label_colon: false
  442. element_wrapper_type: ''
  443. element_wrapper_class: ''
  444. element_default_classes: true
  445. empty: ''
  446. hide_empty: false
  447. empty_zero: false
  448. hide_alter_empty: false
  449. plugin_id: custom
  450. filters:
  451. status:
  452. value: '1'
  453. table: node_field_data
  454. field: status
  455. plugin_id: boolean
  456. entity_type: node
  457. entity_field: status
  458. id: status
  459. expose:
  460. operator: ''
  461. group: 1
  462. type:
  463. id: type
  464. table: node_field_data
  465. field: type
  466. value:
  467. cms_blog: cms_blog
  468. entity_type: node
  469. entity_field: type
  470. plugin_id: bundle
  471. field_cms_blog_category_target_id:
  472. id: field_cms_blog_category_target_id
  473. table: node__field_cms_blog_category
  474. field: field_cms_blog_category_target_id
  475. relationship: none
  476. group_type: group
  477. admin_label: ''
  478. operator: or
  479. value: { }
  480. group: 1
  481. exposed: true
  482. expose:
  483. operator_id: field_cms_blog_category_target_id_op
  484. label: Category
  485. description: ''
  486. use_operator: false
  487. operator: field_cms_blog_category_target_id_op
  488. identifier: field_cms_blog_category_target_id
  489. required: false
  490. remember: false
  491. multiple: false
  492. remember_roles:
  493. authenticated: authenticated
  494. anonymous: '0'
  495. administrator: '0'
  496. reduce: false
  497. is_grouped: false
  498. group_info:
  499. label: ''
  500. description: ''
  501. identifier: ''
  502. optional: true
  503. widget: select
  504. multiple: false
  505. remember: false
  506. default_group: All
  507. default_group_multiple: { }
  508. group_items: { }
  509. reduce_duplicates: false
  510. type: select
  511. limit: true
  512. vid: cms_blog_category
  513. hierarchy: false
  514. error_message: true
  515. plugin_id: taxonomy_index_tid
  516. sorts:
  517. created:
  518. id: created
  519. table: node_field_data
  520. field: created
  521. order: DESC
  522. entity_type: node
  523. entity_field: created
  524. plugin_id: date
  525. relationship: none
  526. group_type: group
  527. admin_label: ''
  528. exposed: false
  529. expose:
  530. label: ''
  531. granularity: second
  532. title: 'Recent Blog Posts'
  533. header: { }
  534. footer: { }
  535. empty: { }
  536. relationships: { }
  537. arguments: { }
  538. display_extenders: { }
  539. use_ajax: true
  540. cache_metadata:
  541. max-age: -1
  542. contexts:
  543. - 'languages:language_content'
  544. - 'languages:language_interface'
  545. - url
  546. - user
  547. - 'user.node_grants:view'
  548. - user.permissions
  549. tags:
  550. - 'config:field.storage.node.field_cms_blog_category'
  551. - 'config:field.storage.node.field_cms_page_body'
  552. - 'config:field.storage.node.field_cms_page_image'
  553. block:
  554. display_plugin: block
  555. id: block
  556. display_title: Block
  557. position: 1
  558. display_options:
  559. display_extenders: { }
  560. cache_metadata:
  561. max-age: -1
  562. contexts:
  563. - 'languages:language_content'
  564. - 'languages:language_interface'
  565. - url
  566. - user
  567. - 'user.node_grants:view'
  568. - user.permissions
  569. tags:
  570. - 'config:field.storage.node.field_cms_blog_category'
  571. - 'config:field.storage.node.field_cms_page_body'
  572. - 'config:field.storage.node.field_cms_page_image'