Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
59.23 KB
MD5: f27d7f6035d4481d3a2b569ede4ab690
SHA-1: e456145d0296011f7c736cc951dad7b2442d55a8
SHA-256: e69ffe5de2fac7948aa1e3611168709455f0e55d3b65e13110ed83cb3d544280
Download zip
76.47 KB
MD5: 94873beaf0a5fc78983efdb699b98bce
SHA-1: 9325a425fb6e9dcfdba2c2e232a03cf3b2d5a050
SHA-256: 1bafde2184f9db544cdf10d58f860a393ec3392db24e0fcc26acdeea8ed748ed
Release notes
The first release of Canvas Views Data. It has not yet run on many sites: please report anything that does not work as described in the issue queue.
What it does
Uses a View as the data source for Canvas components. A "Canvas data" display gives each field a key; each display is an item in the Canvas library; editors choose the number of items, the design and the grid.
New
- A "Canvas data" display for Views, with keys and output types suggested from the fields, and "Suggest keys for a design".
- One Canvas library item per display.
- Card designs, repeated in a CSS grid or a Bootstrap 5 grid, and list designs. Any single-directory component or Canvas code component whose fields match the keys can be a design.
- Two included designs: Data card and Data list.
- Limits per View: allowed designs and layouts, defaults, the most columns, and a lock.
- A JSON preview of the data in the Views UI.
Requirements
- Drupal 11.3 or later
- Canvas 1.x