Events Component
Class Name
The Events component is implemented by the following class:
org.onehippo.cms7.essentials.components.EssentialsEventsComponent
Overview
The Events component extends the functionality of the List component. It allows you to filter out past events, ensuring that only current and upcoming events are displayed on your site. This component uses day-level granularity. Events are considered past and are hidden when a new day begins.
Component Parameters
| Name | Description |
|---|---|
| hidePastEvents | Controls whether past events are hidden. By default, this is enabled. |
| documentDateField | Specifies the name of the repository node attribute that contains the event's date. This parameter is used only if hidePastEvents is enabled. |
This component also inherits parameters from the List Component.
Request Parameters
The Events component does not introduce additional request parameters. All supported request parameters are inherited from the List Component.
Rendering Attributes
The Events component does not add any rendering attributes beyond those provided by the List Component.