- Issue created by @jwilson3
Sister ticket to 🐛 Article Slider broken Active .
The Event Slider Site Studio component is broken; there is no javascript slider shown, just a list of event cards.
Install Acquia CMS low-code with the example content.
Place the Event slider on a layout canvas.
Fix the event slider view to use the correct display format:
Here is what a diff between module default, and a functioning view looks like:
diff -u ./modules/contrib/acquia_cms_event/config/optional/views.view.event_cards.yml ./sites/default/config/sync/views.view.event_cards.yml
--- ./modules/contrib/acquia_cms_event/config/optional/views.view.event_cards.yml 2023-02-28 23:09:20.000000000 -0500
+++ ./sites/default/config/sync/views.view.event_cards.yml 2023-04-05 20:11:55.000000000 -0500
@@ -5,9 +6,12 @@
- core.entity_view_mode.node.card
- node.type.event
module:
+ - cohesion
- datetime
- node
- user
@@ -304,7 +308,10 @@
groups:
1: AND
style:
- type: default
+ type: cohesion_layout
+ options:
+ views_template: view_tpl_article_cards_slider
+ master_template: __none__
row:
type: 'entity:node'
options:
@@ -467,7 +474,10 @@
groups:
1: AND
style:
- type: default
+ type: cohesion_layout
+ options:
+ views_template: view_tpl_event_cards_slider
+ master_template: __none__
row:
type: 'entity:node'
options:
Active
1.5
Code