Editorial Favorites Carousel

Prev Next

Editorial purpose

Displays an editorial carousel with the Editorial Carousel look, filled through the Search API with content tagged with the user's favorites, such as teams and players. It refreshes when the user's favorites or sign-in state changes and does not appear when the search returns no results.

Supported entities

The module can render the following custom entity types:

  • YouTube Videos

  • Promos

  • Events

  • Vesper Vod Videos

  • Vesper Live Event Videos

  • Vesper Playlist

  • Vesper Series

  • Vesper Season

The module can also render the story and album entities.

Optional sponsor entity

The Partners custom entity is used only when sponsorAsset is configured.

Parameters

Visual

Label

Type

Description

Hide Module

Toggle

Hide the module.

Color Schema

Selection

Select the module's color scheme.

Options: light (Light); dark (Dark).

Remove Spacing Top

Toggle

Remove the spacing above the module.

Remove Spacing Bottom

Toggle

Remove the spacing below the module.

Card Format

Selection

Card format: Full Image Landscape (16:9), Full Image Portrait (2:3), Full Image Squared (1:1), Regular Landscape (16:9), Regular Portrait (2:3), Regular Squared (1:1), Regular Landscape No Border (16:9), Regular Portrait No Border (2:3), Regular Squared No Border (1:1).

Options: FullImageLandscape (Full Image Landscape (16:9)); FullImagePortrait (Full Image Portrait (2:3)); FullImageSquared (Full Image Squared (1:1)); RegularLandscape (Regular Landscape (16:9)); RegularPortrait (Regular Portrait (2:3)); RegularSquared (Regular Squared (1:1)); RegularLandscapeNoBorder (Regular Landscape No Border (16:9)); RegularPortraitNoBorder (Regular Portrait No Border (2:3)); RegularSquaredNoBorder (Regular Squared No Border (1:1)).

Card Size

Selection

Select the card size.

Options: small (Small); medium (Medium); large (Large).

Hide For Guest User

Toggle

When hideForGuestUser is enabled, signed-out users do not see the module. The module appears after sign-in without reloading the page.

Show If No Favourites Set

Toggle

When enabled and the user has not selected any favorites, the module displays content matching its filters (types and tags). The same filtered content is displayed when the user's favorites return no results. When disabled or unset, the module remains hidden until the user selects a favorite.

Title & CTA

Label

Type

Description

Header Title

Text

Set the module heading.

Hide Date

Toggle

Hide the dates displayed on content cards.

Card format and size, hideDate, header CTA, sponsor (sponsorAsset, sponsorLabel) and card taps work as in Editorial Carousel.

CTA Title

Text

Set the CTA label.

CTA Link

Text

Set the CTA destination.

Data

Label

Type

Description

Skip

Number

Set the number of items to skip before displaying results.

Limit

Number

Number of items to retrieve. Default 100 (max 100).

limit defaults to 100, which is also the maximum.

Lazy Load

Toggle

Load the module's content after it appears on screen.

With lazyLoad on, content loads when the module scrolls into view, with a placeholder shown meanwhile.

Alternative filters

Label

Type

Description

Entity Types

Text

Set entityTypes to a comma-separated list of entity types as named in the Distribution API; for custom entities, use the Distr. API Code (for example stories,albums,vesper-vod-videos). Types are combined with OR. If left empty, content of every type are returned.

Set the Search API base URL (searchApiBaseUrl) in App Config; without it the carousel stays empty.

Configure the favorites categories in App Config; content tagged with any one of the user's favorites is shown.

Tags

List of tags

Comma-separated list of tag slugs (for example england,jude-bellingham). Tags are combined with AND: content must have all of them. If left empty, content are not filtered by tag.

In the content picker, search by slug and select tag content.

Label

Type

Description

Sponsor Asset

Text

Set the sponsor logo asset.

In the content picker, search by slug and select partner content.

Sponsor Label

Text

Set the label displayed next to the sponsor logo.

Required variables

Configure the following variables in Page Builder for the page to render correctly:

  • image_placeholder: Image shown on cards whose content has no image of its own.