Events
The Events HAPI component will pull data related to events from the Control Panel
Events are a one-to-many relationship, so as long as the use-case matches that relationship type, they can be repurposed for multiple use-cases.
The main use-case for events is events. However, you could also use events for another use-case like Classes since it still is a one-to-many relationship, it's just the verbiage is presented differently to the end-user.
The 3 data-pv-type values are:
eventList - this will display a list of upcoming events based on the query string and/or data-pv-parameters
eventView - this will display the details of a specific event
attendees - this will display event and ticket info for a specific member
The code above has data-pv-object so you will be able to see all data pulled by typing "abc" into the developer console.
Last updated