Event Slider Broken

Created on 6 April 2023, over 1 year ago

Problem/Motivation

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.

Steps to reproduce

Install Acquia CMS low-code with the example content.
Place the Event slider on a layout canvas.

Proposed resolution

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:

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

🇪🇨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024