Article Slider broken

Created on 6 April 2023, about 1 year ago

Problem/Motivation

Sister ticket to πŸ› Event Slider Broken Active .

The Article 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 Article slider on a layout canvas.

Proposed resolution

Fix the article 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_article/config/optional/views.view.article_cards.yml ./sites/default/config/sync/views.view.article_cards.yml
--- ./modules/contrib/acquia_cms_article/config/optional/views.view.article_cards.yml	2023-02-28 23:09:20.000000000 -0500
+++ ./sites/default/config/sync/views.view.article_cards.yml	2023-04-05 20:11:55.000000000 -0500
@@ -5,8 +6,11 @@
     - core.entity_view_mode.node.card
     - node.type.article
   module:
+    - cohesion
     - node
     - user
@@ -196,7 +200,10 @@
             default_group_multiple: {  }
             group_items: {  }
       style:
-        type: default
+        type: cohesion_layout
+        options:
+          views_template: view_tpl_article_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.69.0 2024