Creating a dynamic carousel with content groups

Overview

When creating your experiences, you can utilise content groups to dynamically populate the carousel component.

When selecting a dynamically-populated carousel, you have two options available to you:

A typical scenario for a carousel with no child is a carousel of brands, features or industries, which do not require a subsequent detailed page on each carousel item.

You may be using this as a navigational aid to other pages, or simply to showcase a list of information.

How to create a Carousel – No Child

  1. Create a content group that you would like to use
  2. Go to sections
  3. Either select an existing section, or create a new section
  4. Insert a page
  5. Select “Carousel
  6. A tab will appear above the component list called “Content
  7. Go to the tab “Content
  8. Go to “Items
  9. From the dropdown list of “Content Group” select the relevant content group
  10. From the list of content group items, select all items or select individual items by clicking the relevant checkbox(es)
  11. Go to “Slots
  12. Assign the relevant content group items to the carousel card slots
  13. Click “Confirm” and your carousel will be dynamically populated.

Note: Carousels are not automatically updated with new items that are added to a content group, this ensures that only items that are ready are visible to end users. Please see – Updating a Content Group for Use in a Dynamic Carousel or Grid

A typical scenario for a carousel with child is a carousel of products, services or reference points, which require a more detailed page (the ‘child’ page) on each carousel item.

As well as the carousel being dynamically populated, the child page is also dynamically populated through a template which you can create.

How to create a Carousel – With Child

Creating your Carousel

  1. Create a content group that you would like to use.
  2. Go to sections
  3. Either select an existing section, or create a new section
  4. Insert a page
  5. Select “Carousel With Child
  6. A tab will appear above the component list called “Content
  7. Go to the tab “Content
  8. Go to “Items
  9. From the dropdown list of “Content Group” select the relevant content group
  10. From the list of content group items, select all items or select individual items by clicking the relevant checkbox(es)
  11. Go to “Slots
  12. Assign the relevant content group items to the carousel card slots
  13. Click “Confirm” and your carousel will be dynamically populated, with a child page added.
  14. It is advised at this point to rename the pages appropriately.

Note: Carousels are not automatically updated with new items that are added to a content group, this ensures that only items that are ready are visible to end users. Please see – Updating a Content Group for Use in a Dynamic Carousel or Grid

Populating your Child Page

  1. Within the child page select a component. A Block Page is recommended
  2. Within the block page, insert a block
  3. Click on the inserted block
  4. Attach content to that block

Previewing your content

  1. Click on “Page Settings
  2. Click on the dropdown under “Preview content item
  3. Select any item from your content group to see how your template appears with different items within your content group

Each item in the carousel is contained within a card.

The cards can be populated using slots. These slots are shown in this visual:

To populate these slots, select any value from the dropdown list for each slot. The options available will be determine by the content group chosen.

Only applicable field types will be shown (e.g. media fields for image).

If a slot is left “Unassigned” then it will not appear on the card.

Attach Content

With a block selected, click on the attach content button, highlighted below.

Then from block slots, choose any available fields which are present in the content group selected.

Only appropriate fields will be displayed – such as text for text blocks, and media for any media-related blocks. These fields are established when you create your content group.