Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

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

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

Releases

Version Type Core Release date
1.0.0-alpha4 Pre-release May 17, 2023
1.0.0-alpha3 Pre-release May 17, 2023