- Issue created by @jwilson3
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.
Install Acquia CMS low-code with the example content.
Place the Article slider on a layout canvas.
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:
Active
1.5
Code