Events Calendar Configuration Content Type
ID: 380
Name: Events Calendar Configuration
Description: Content to configure the Events Calendar.
Content Element Details
Name | Description | Size | Type | Required |
---|---|---|---|---|
Name | The Name Element | 80 Characters | Plain Text | true |
PHAR File | The t4 tag for Media File | 80 Characters | Media | true |
Sources | Multi Check to choose which Source load | 80 Characters | Checkbox | true |
Events JSON or XML Source | The t4 Navigation Object that returns the source of the JSON or XML events source file | 999 Characters | Plain Text | true |
Max Events per Page | The t4 Navigation Object that returns the source of the JSON or XML events source file | 10 Characters | Whole Number | true |
Main View Section | Use when you load different module in different page | 80 Characters | Section/Content Link | true |
Google Email | For Google Calendar Events - Client Email | 256 Characters | Plain Text | false |
Google API Token | For Google Calendar Events - Google API P12 Token file | 256 Characters | Plain Text | false |
Google Calendar IDs | For Google Calendar Events - Calendar ID | 5000 Characters | Plain Text | false |
iCal Sources | For iCal Events - iCal ics sources files or URLs separated by pipe | 5000 Characters | Plain Text | false |
Timezone | If not set, use Eastern Standard Time | 80 Characters | Plain Text | false |
Options | Optional PHP Variables | 5000 Characters | Plain Text | false |
Add to configure the Events Calendar. It does not have any visible output on a page, but generates files and a data feed required for the Events Calendar to work.
The Events Calendar displays events from the section Home » Events.
Use the Event Calendar View content type to display the Events Calendar.
How to use
- Select the Terminalfour PHP Search Module PHAR file from the Media Library (this has been uploaded to folder Categorised > Flcc.edu > Developer Assets > Events Calendar) media ID: 628
- Check the Sources of events used
- Add a T4 navigation asset and file name for the Events JSON or XML Source
- Enter the number of Max Events per Page
- For the Main View Section select the section from the Site Structure where the Events Calendar will be displayed
- If events are being pulled in from a Google Calendar:
- Add a Google Email
- Add a Google API Token
- Add Google Calendar IDs, if adding more than 1 add comma separated
- If events are being in from an iCal add the URL, if adding more than 1 add comma separated
- Set the Timezone e.g., America/Chicago
- Optionally add additional settings to Options, see Calendar Module Configurable Options on the T4 documentation for a full list of options