Element Field Type
The Calendar Calendars field type allows you to assign/relate whole calendars (ID's) to other element types such as Craft Entries. What actually is related is the calendar ID, thus allowing you to then pull in events for the given calendar attached to the Craft element.
Creating a Calendars field
Creating a Calendar Calendars field is done just like any other fieldtype, here's an overview of the process:
- Go to the Settings area in Craft control panel. Click on Fields.
- Click the New field button in the top right corner.
- Name the field as you wish. For example: Related Calendars with a handle of relatedCalendars.
- For the Field Type option, select Calendar Calendars from the list.
- Click the Save button in the top right corner to save the new field.
Your Calendar Calendars field is now available to be assigned to other sections.
How the Fieldtype works
The Calendar Calendars fieldtype lets the user choose 1 calendar to assign to any element: a section entry, categories, assets, etc.