Event twig variable when using Localist - MizzouCreative/mizzoumvc GitHub Wiki

If you are using the CalendarTranslator to retrieve event items from Localist, the following are the properties that will be populated in the Event object in your twig view. Most of these match up exactly with the return format from the Localist API: https://developer.localist.com/doc/api#event-json

  • Id - ID of the event
  • Title - Name of the event
  • Description - The event’s description, including HTML
  • RoomNumber - Room number
  • LocationName - Appropriate label for showing the location (either the place name or the location field)
  • Url - External URL assigned to the event
  • DescriptionText - Plain-text version of the event’s description
  • Start - Timestamp of the event start
  • End - Timestamp of the event end
  • StartMonth - Full month (date "F") of the event start
  • StartAPMonth - AP style month of the event start
  • StartTime - AP style start time of the event
  • EndMonth - Full month (date "F") of the event end
  • EndAPMonth - AP style month of the event end
  • EndTime - AP style end time of the event
  • StartDay - Day of the month without leading zeros (date "j") of the start time
  • StartDayofTheWeek - A full textual representation of the day of the week (date "l") for the start time
  • EndDay - Day of the month without leading zeros (date "j") of the end time
  • EndDayofTheWeek - A full textual representation of the day of the week (date "l") for the end time
  • StartYear - year (date "Y") of the start time
  • EndYear - year (date "Y") of the end time
  • Excerpt - shortened excerpt of DescriptionText