Group Schedules

Displays daily group exercise classes with filters and a PDF download.

Sometimes called “Group Exercise” or “Group Schedules”, the Repeat Schedules block provides a similar view to Activity Finder, but focuses on recurring, often drop-in classes. You can see an example of this on our sandbox site.

Developers can find more information in ynorth-project/openy_repeat and Program Event Framework.

Using Group Schedules

Block configuration

After you add the Paragraph or Block to a page, configure the options:

  • PDF Schedule link - a link to a manually generated PDF as an alternative to the automatically generated one.
  • Clear All link - where the user is directed when they use the “Clear all” link.
  • Limit by category - choose categories with autocomplete to only show certain categories.
  • Filters - choose the filters that show up in the sidebar.
  • Limit by Location - choose a location to only show events from that location.
  • Display instructor
  • Display end time
  • Categories Exclude - exclude any programs that are tagged with specific categories.
  • PDF only view - only show the PDF link and not the schedule.

Front-end

Data from Sessions, Classes, and Activities are all used to form the Repeat Schedules. Here’s what shows up where. Fields are noted with their relationships, so session.class.activity.title means “the title of the Activity referenced by the Class referenced by the Session”.

Fields used in the table view:

A diagram listing the relationships between the fields in the Repeat Schedules table and their names.

Fields used in the popup view:

A diagram listing the relationships between the fields in the Repeat Schedules modal and their names.