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
| Group | Name | Description | Data type | Required | Select Many | Limits | Allowed Values | Default Value | Example | Comments |
|---|---|---|---|---|---|---|---|---|---|---|
| General | Page Size | How many galleries show at first, and how many each Load More click adds. | Integer | True | False | 9 | 9 | Legacy: loadMoreSize (number, required, default 9). Read by the template as the offset for the number of items shown. | ||
| General | Title | The heading above the listing. | String | False | False | Photo galleries | Legacy: widgetTitle (text). Shown as the heading in the widget header. | |||
| General | Subtitle | A line shown under the heading. | String | False | False | The best photos from the weekend | Legacy: subtitle (text). Not read by this template (TBC). | |||
| General | Link | Where the link in the heading area goes, and the text it shows. | Link | False | False | /photos | Legacy: linkTo (text). Shown in the widget header. The legacy link label (linkToLabel) shares its link and has been combined into this property. | |||
| General | Items Requested | How many galleries are requested at first. Set one higher than the page size so Load More works. | Integer | False | False | 10 | 10 | Legacy: maxPlaylists (number, default 10, label 'Items Requested (See Info)'). Standard playlist setting; not read in the template. | ||
| General | Show Load More Button | Shows a Load More button when there are more galleries. | Boolean | False | False | False | True | Legacy: showMore (checkbox). Passed to the listing to show the Load More button. | ||
| General | Include Restricted Content | Includes galleries that have access restrictions. | Boolean | False | False | False | False | Legacy: forceGetRestrictedContent (checkbox). Standard playlist setting; not read in the template. | ||
| General | Only Restricted Content | Shows only galleries that have access restrictions. | Boolean | False | False | False | False | Legacy: onlyRestrictedContent (checkbox). Standard playlist setting; not read in the template. | ||
| General | Ignore Route Context | Stops the page the listing is on from narrowing which galleries show. | Boolean | False | False | False | False | Legacy: ignoreRouteContext (checkbox). Standard playlist setting; not read in the template. | ||
| General | Ignore Route Tags | Stops the tags of the page from narrowing which galleries show. | Boolean | False | False | False | False | Legacy: ignoreRouteTags (checkbox). Standard playlist setting; not read in the template. | ||
| General | Show Title Translations | Shows translated titles for galleries. | Boolean | False | False | False | False | Legacy: showTitleTranslations (checkbox). Standard playlist setting; not read in the template. | ||
| General | Additional CSS | Extra style names added to the listing. | String | False | False | CssClass1, CssClass2 | Legacy: additionalCss (text). Added to the listing wrapper (not applied in the Match Centre layout). | |||
| General | Anchor Name | A unique name so the listing can be linked to on the page. | String | False | False | photo-galleries | Legacy: anchorName (text). Used as the anchor of the widget. | |||
| Migration | Legacy ID | The ID of this listing in the legacy system. | String | False | False | 123456 |
Implementation differences
Retired content types
| Name | Comments |
|---|---|
| Match Centre: Gallery Listing | Consolidated into Gallery Listing. It differs only in Match Centre styling and layout classes; it has the same attributes. |
Retired attributes
| Name | Comments |
|---|---|
| detail | Retired as an unused parent widget attribute for Playlist List Widgets. |
| contentRankingTimeWindow | Retired as an unused parent widget attribute for Playlist List Widgets. |
| pageNumber | Retired as an unused parent widget attribute for Playlist List Widgets. |
| sortDirection | Retired as an unused parent widget attribute for Playlist List Widgets. |
| sortParameter | Retired as an unused parent widget attribute for Playlist List Widgets. |
| preventFetchingTotalItemsTotalPages | Retired as an unused parent widget attribute for Playlist List Widgets. |
| playlistRestriction | Retired as an unused parent widget attribute for Playlist List Widgets. |
| linkToLabel | Combined into the Link property. |
| references | Replaced by new properties: none. No content reference usage is recorded for this type. |
| tags | No tags are recorded as used by this type, so no Tags property is needed. |
Data migration
Coming soon...