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 eventTitle
- Name of the eventDescription
- The event’s description, including HTMLRoomNumber
- Room numberLocationName
- Appropriate label for showing the location (either the place name or the location field)Url
- External URL assigned to the eventDescriptionText
- Plain-text version of the event’s descriptionStart
- Timestamp of the event startEnd
- Timestamp of the event endStartMonth
- Full month (date "F") of the event startStartAPMonth
- AP style month of the event startStartTime
- AP style start time of the eventEndMonth
- Full month (date "F") of the event endEndAPMonth
- AP style month of the event endEndTime
- AP style end time of the eventStartDay
- Day of the month without leading zeros (date "j") of the start timeStartDayofTheWeek
- A full textual representation of the day of the week (date "l") for the start timeEndDay
- Day of the month without leading zeros (date "j") of the end timeEndDayofTheWeek
- A full textual representation of the day of the week (date "l") for the end timeStartYear
- year (date "Y") of the start timeEndYear
- year (date "Y") of the end timeExcerpt
- shortened excerpt of DescriptionText