AFL
Content types

Gallery Listing

Reference: the Gallery Listing block, a grid of photo galleries with an optional heading, link and Load More button.

Overview

  • Name: Gallery Listing
  • Type: Block
  • Purpose: A grid of photo galleries with an optional heading, link and Load More button. It is used on gallery pages and, with Match Centre styling, on match centre pages.
  • Examples: None
  • Legacy functional requirements: None
  • Legacy configuration instructions: None

Content model

Properties

GroupNameDescriptionData typeRequiredSelect ManyLimitsAllowed ValuesDefault ValueExampleComments
GeneralPage SizeHow many galleries show at first, and how many each Load More click adds.IntegerTrueFalse99Legacy: loadMoreSize (number, required, default 9). Read by the template as the offset for the number of items shown.
GeneralTitleThe heading above the listing.StringFalseFalsePhoto galleriesLegacy: widgetTitle (text). Shown as the heading in the widget header.
GeneralSubtitleA line shown under the heading.StringFalseFalseThe best photos from the weekendLegacy: subtitle (text). Not read by this template (TBC).
GeneralLinkWhere the link in the heading area goes, and the text it shows.LinkFalseFalse/photosLegacy: linkTo (text). Shown in the widget header. The legacy link label (linkToLabel) shares its link and has been combined into this property.
GeneralItems RequestedHow many galleries are requested at first. Set one higher than the page size so Load More works.IntegerFalseFalse1010Legacy: maxPlaylists (number, default 10, label 'Items Requested (See Info)'). Standard playlist setting; not read in the template.
GeneralShow Load More ButtonShows a Load More button when there are more galleries.BooleanFalseFalseFalseTrueLegacy: showMore (checkbox). Passed to the listing to show the Load More button.
GeneralInclude Restricted ContentIncludes galleries that have access restrictions.BooleanFalseFalseFalseFalseLegacy: forceGetRestrictedContent (checkbox). Standard playlist setting; not read in the template.
GeneralOnly Restricted ContentShows only galleries that have access restrictions.BooleanFalseFalseFalseFalseLegacy: onlyRestrictedContent (checkbox). Standard playlist setting; not read in the template.
GeneralIgnore Route ContextStops the page the listing is on from narrowing which galleries show.BooleanFalseFalseFalseFalseLegacy: ignoreRouteContext (checkbox). Standard playlist setting; not read in the template.
GeneralIgnore Route TagsStops the tags of the page from narrowing which galleries show.BooleanFalseFalseFalseFalseLegacy: ignoreRouteTags (checkbox). Standard playlist setting; not read in the template.
GeneralShow Title TranslationsShows translated titles for galleries.BooleanFalseFalseFalseFalseLegacy: showTitleTranslations (checkbox). Standard playlist setting; not read in the template.
GeneralAdditional CSSExtra style names added to the listing.StringFalseFalseCssClass1, CssClass2Legacy: additionalCss (text). Added to the listing wrapper (not applied in the Match Centre layout).
GeneralAnchor NameA unique name so the listing can be linked to on the page.StringFalseFalsephoto-galleriesLegacy: anchorName (text). Used as the anchor of the widget.
MigrationLegacy IDThe ID of this listing in the legacy system.StringFalseFalse123456

Implementation differences

Retired content types

NameComments
Match Centre: Gallery ListingConsolidated into Gallery Listing. It differs only in Match Centre styling and layout classes; it has the same attributes.

Retired attributes

NameComments
detailRetired as an unused parent widget attribute for Playlist List Widgets.
contentRankingTimeWindowRetired as an unused parent widget attribute for Playlist List Widgets.
pageNumberRetired as an unused parent widget attribute for Playlist List Widgets.
sortDirectionRetired as an unused parent widget attribute for Playlist List Widgets.
sortParameterRetired as an unused parent widget attribute for Playlist List Widgets.
preventFetchingTotalItemsTotalPagesRetired as an unused parent widget attribute for Playlist List Widgets.
playlistRestrictionRetired as an unused parent widget attribute for Playlist List Widgets.
linkToLabelCombined into the Link property.
referencesReplaced by new properties: none. No content reference usage is recorded for this type.
tagsNo tags are recorded as used by this type, so no Tags property is needed.

Data migration

Coming soon...