Event Banner

Prev Next

Editorial purpose

Displays a full-width banner promoting one Event: background image, event logo, title, dates, a status element (countdown, live badge or completed badge), a status-based action button (tickets, watch or highlights) and a button to the event detail page. The event sponsor logo is shown when the event has one.

Required content entity

The module uses an Events custom entity.

Optional sponsor entity

The Partners custom entity is used only when the selected Event includes a sponsor.

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 top spacing of the module.

Remove spacing bottom

Toggle

Remove the bottom spacing of the module.

Hide date

Toggle

Hide the event start and end dates.

Show when started

Toggle

Show the banner only while the event is live (between start and end). When off, the banner is always shown.

The banner is always shown by default; with showWhenStarted on, it is shown only while the event is live.

Title & CTA

Label

Type

Description

CTA title

Text

Title of the CTA to view the event (default "Event detail").

ctaTitle sets the detail button label (default event-detail-page) and showCtaArrow adds an arrow to it; create a link rule for the event entity type so the button opens the event page.

Show CTA arrow

Toggle

Show the arrow icon on the CTA.

Upcoming label

Text

When set, shown as the title while the event is upcoming.

upcomingLabel, liveLabel and completedLabel are vocabulary keys that replace the event title for each status, and hideDate hides the dates.

Live label

Text

When set, shown as the title while the event is live.

Completed label

Text

When set, shown as the title once the event is completed.

Data

Label

Type

Description

Event Slug

Text

Get an Event entity by slug.

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

Set slug to an Event custom entity (distribution path events); without it the module is not shown.

Event fields used: startDate, endDate, eventLogo and backgroundImageMobile (graphic asset tags), ticketUrl, watchUrl and watchHighlightsUrl.

Status follows the event dates: upcoming before startDate (countdown), live until endDate, then completed; the action button uses ticketUrl, watchUrl or watchHighlightsUrl respectively and appears only when the link has both a URL and a display text, which is the button label.

Label

Type

Description

Sponsor label

Text

Label shown near the sponsor's logo (for example "powered by").

The sponsor is the first Partner in the event sponsoredBy reference (partnerLogo, partnerLogoLight, partnerLogoDark, chosen by color scheme), with sponsorLabel next to it (default sponsored-by).

Required variables

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

  • image_placeholder: Image shown when the event has no background image.