Creating a dynamic grid with content groups

Overview

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

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

Grid – No Child

A typical scenario for a grid with no child is a grid of brands, features or industries, which do not require a subsequent detailed page on each grid 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 Grid – 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 “Grid
  6. Select “No Child
  7. A tab will appear above the component list called “Content
  8. Go to the tab “Content
  9. Go to “Items
  10. From the dropdown list of “Content Group” select the relevant content group
  11. From the list of content group items, select all items or select individual items by clicking the relevant checkbox(es)
  12. Go to “Slots
  13. Assign the relevant content group items to the grid card slots
  14. Click “Confirm” and your grid will be dynamically populated.

Note: Grids 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

Grid – With Child

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

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

How to create a Grid – With Child

Creating your Grid

  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 “Grid
  6. Select “With Child
  7. A tab will appear above the component list called “Content
  8. Go to the tab “Content
  9. Go to “Items
  10. From the dropdown list of “Content Group” select the relevant content group
  11. From the list of content group items, select all items or select individual items by clicking the relevant checkbox(es)
  12. Go to “Slots
  13. Assign the relevant content group items to the grid card slots
  14. Click “Confirm” and your grid will be dynamically populated, with a child page added.
  15. It is advised at this point to rename the pages appropriately.

Note: Grids 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

Grid Card Slots Explained

Each item in the grid 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.