Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Site Studio Views Element

Security covered Maintenance fixes only 187 sites

Part of the Site ecosystem · 39 projects

This module allows users to embed Views directly into Site Studio components without needing to add them as blocks first. It simplifies the process for content creators and avoids the overhead of managing separate block configurations.

The Acquia Site Studio Views Element module creates a new Element for Site Studio that lets admins and authors embed a View into a component without having to add blocks to the hidden region of the theme first. If you build dynamic components in Site Studio that drop Views into pages, this module might be for you. If you have ever looked at your components or templates and saw a Block element say 'Undefined' block that used to point at a block instance of a View, this is definitely for you.

This avoids the need for:

  • Remembering to add a block instance for every block display of a View to output in a Site Studio component
  • Remembering to 'add' those blocks in the Block Layout in Drupal when deploying to different environments (if you ignore block configuration)

This makes it easier for authors who may have some Views knowledge to not have to deal with the added tasks of block management. In addition, this avoids performance penalties of having too many blocks in the hidden region that may be rendered on page load regardless if you forget to set adequate visibility settings. Since components can go nearly anywhere on a site, this bypasses that entirely.

The list of options for the element are all View displays that are the block plugin only. This avoids rendering other displays like feeds, pages or other types of View displays.

How to use:

  1. Build a new component
  2. Add the 'Views Element' to the canvas
  3. Select the View display you wish to display
  4. Save

Now you can use this component and the View will be injected. Contextual filters and other settings are respected automatically and nothing additional is needed for that to work.

This module pairs well with Views Minimum Condition.

Drupal 8–11

Ask your assistant about Site Studio Views Element

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Mar 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.2 Stable 8–11 Sep 24, 2024
1.0.1 Stable 8–10 May 16, 2023
1.0.0 Stable 8–10 Apr 29, 2023
1.0.0-beta1 Pre-release 8–10 Apr 11, 2023
1.0.x-dev Dev 8–11 Mar 30, 2023