Acquia Site Studio Conditions
The Acquia Site Studio conditions module adds new conditions to use for context visibility.
Components and elements can be controlled via the "Context Visibility" option in their configuration. Sometimes "hide if no data" is not powerful enough to dictate visibility of a section or area of the Layout Canvas. This module provides new conditions for more control over this behavior. Conditions can be grouped together within a context, and contexts can be chained on a component or element in Acquia Site Studio.
The module so far provides two conditions:
- Check if a node is using a specific Template from Site Studio (via the template selector field)
- Check if a layout canvas has a specific component present
Currently only basic setups can be evaluated. For instance, trying to check 'if a component exists' on a layout canvas is top level only. That means that it cannot check for components on a page that are nested several layers deep (Container > Row > Column > Row etc).
This can be useful in situations where you need more granular control. If you use a lot of Views as droppable items in Acquia Site Studio, also check out the Views Minimum Condition module.
Currently tested against Acquia Site Studio version 6.9.x.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0-alpha4 | Pre-release | May 17, 2023 | ||
| 1.0.0-alpha3 | Pre-release | May 17, 2023 |