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.

ECA Site Building Tools

No security coverage

Part of the ECA ecosystem · 48 projects

View on drupal.org

This module aims to become a collection of site building utilities that work together with ECA.

For now, there is only one single submodule ECA Active Trail - it provides a Plugin for ECA that allows you to set the menu system's active trail dependent on any conditions available to ECA.

Usage example for ECA Active Trail:

- use a standard installation with Drupal 10, be sure to add the eca eco system
- enable modules: eca_ui bpmn_io eca_misc
- add Module "ECA Site Building" and enable modules: eca_site_building eca_active_trail
- add a taxonomy term tag "news" to vocabulary "Tags"
- add some content of type "article", tag some of them with "news" and give them an alias with /news i.e. /news/news1 /news/news2 and so on
- create a view page (path /news) for content type article tagged with taxonomy term news
- create a menu entry for the main navigation menu for the path /news (our view page)

We now have a view of articles showing our news, but: since we don't have all of the single news in the main menu, we want to set the active trail on the "News" menu entry, for each individual news - here comes ECA Active Trail into play:
We build an ECA model, which sets the active trail on "News" for each of our news articles.

- start the model with the event "Controller found to handle request"
- add an action "Active trail" and set the menu trail to "-- News"
- as condition define "Compare two scalar values", where the first value ist the token [current-page:url:path] and the second value is "/news/"

Save the model and inspect the active trail when viewing a single news: the main menu entry "News" is now set as the active trail.

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
4
Tracked since
Nov 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.0.0 Stable Jun 26, 2024
1.0.2 Stable Jun 26, 2024
1.0.1 Stable Apr 23, 2024
1.0.0 Stable Nov 8, 2023