AFL
Content types

Promo List

Reference: the Promo List block, a list of promos with an optional heading, link and background image.

Overview

Content model

Properties

GroupNameDescriptionData typeRequiredSelect ManyLimitsAllowed ValuesDefault ValueExampleComments
GeneralTitleThe heading shown above the promos.StringNoNoLatest offersLegacy: widgetTitle. Shown as the heading in the widget header above the list. Name set by override rules.
GeneralLinkThe destination of the link shown above the promos.LinkNoNo/offersLegacy: linkTo (text). Shown as a link beside the widget heading. Link chosen as the data type for a link. The legacy link label (linkToLabel) has been combined into this property.
GeneralDetail LevelControls how much detail each promo shows. Choose Detailed to show details such as price.StringNoNoBasic, Standard, DetailedStandardStandardLegacy: detail (select). Name set by override rules. Not read by the template apart from the widget schema, so the effect of Detailed is TBC.
GeneralPromosThe promos to show in the list.Content Reference (Promo)NoYesSpring offers, Partner offersLegacy: contentReference. Select Many is Yes because the legacy widget lists several promos from a playlist. The legacy allowed types are a playlist containing promos, photos, videos, articles and playlists; Promo is the closest match to this type.
GeneralPromo SizeThe size of each promo in the list, which sets how many show across the page.StringNoNoSmall, Medium, Large, WideLargeMediumLegacy: promoSize (select). Wide shows 2 across on desktop, Large 3, Medium 4 and Small 5 (default layout when no size matches). The analysis default is Large for every legacy type, but each legacy type has its own default size (Small, Medium, Large, Wide): confirm which default to use. Consolidates the four legacy types.
GeneralBackground ImageAn image shown behind the promos. Only shows when the promo size is Large.Content Reference (Photo)NoNoStadium crowdLegacy: bgImage (contentReference). Only a photo is shown, and only for the Large size. Photo type taken from the legacy behaviour.
GeneralBackground StyleChooses a light or dark look. Dark uses the theme colour for the background and promo text.StringNoNoLight, DarkLightLightLegacy: darkMode (checkbox). Name, data type, allowed values and default set by override rules.
GeneralAdditional CSSExtra styling applied to the promo list.StringNoNoCssClass1, CssClass2CssClass1Legacy: additionalCss (text). The template reads a class passed here: promo-list--image-only hides the captions and uses the promo title as the image description. The legacy analysis gives placeholder allowed values (CssClass1, CssClass2); the supported class list is TBC.
GeneralAnchor NameA unique name for linking to this promo list. Use letters, numbers and hyphens only, with no spaces.StringNoNoGenerated automaticallylatest-promosLegacy: anchorName. Used to create an anchor for linking to the list. Legacy default is a randomly generated UUID.
MigrationLegacy IDThe ID of this promo list in the legacy system.StringNoNo88

Implementation differences

Retired content types

NameComments
Promo List LargeConsolidated into Promo List. Differs only in showing 3 promos across on desktop and in its default promo size, which is now the Promo Size property.
Promo List MediumConsolidated into Promo List. Differs only in showing 4 promos across on desktop and in its default promo size, which is now the Promo Size property.
Promo List SmallConsolidated into Promo List. Differs only in showing 5 promos across on desktop and in its default promo size, which is now the Promo Size property.
Promo List WideConsolidated into Promo List. Differs only in showing 2 promos across on desktop and in its default promo size, which is now the Promo Size property.

Retired attributes

NameComments
playlistTypeRestrictionRestriction will be enforced by restricting references to only supported types.
linkToLabelCombined into the Link property.
pageNot migrated: excluded for legacy playlist widgets (Playlist Widget - V2).
pageSizeNot migrated: excluded for legacy playlist widgets (Playlist Widget - V2).
contentRefExpressionNot migrated: excluded for legacy playlist widgets (Playlist Widget - V2).
tagsNot migrated: excluded for legacy playlist widgets (Playlist Widget - V2).
preventFetchingTotalItemsTotalPagesNot migrated: excluded for legacy playlist widgets (Playlist Widget - V2).

Data migration

Coming soon...