Step 1:
Start by installing the Full Calendar plugin to your application. To do this, go to the "Plugin" tab in your Bubble editor and search for "Full Calendar". Click "Install" on the plugin and ensure it's added to your application.
Step 2:
Once the plugin is installed, you'll need to drag the calendar element onto your page where you want the calendar to appear.
Step 3:
After placing the calendar element, configure it by selecting the "Type of events" and "Data source". Your "Data source" is usually a search for the type of thing that represents your events in the database. If your events are called "Appointments", your data source might be "Search for Appointments".
Step 4:
Define the "Start time field" and optionally the "End time field". These fields should correspond to date fields within your event data type that store when each event starts and ends.
Step 5:
If your events can last all day, set up the "All day field (yes/no)" by selecting a yes/no field from your event data type that specifies if it's an all-day event.
Step 6:
For your calendar to display descriptive information for each event, set the "Event caption" using expressions related to your event data. For example, if your event has a name, you could use "Current event's name" as the caption.
Step 7:
If you want users to modify events through the calendar by dragging or resizing, make sure to check "Enable modification through dragging (start/end)" and "Enable modification through resizing (end)", and set up your privacy rules to allow this behavior.
Step 8:
Decide how your calendar should initially display by setting the "Date to display at first". If left blank, the calendar will default to the current date.
Step 9:
Choose your desired "Available views", such as Day, Month, Week, to control how users can see the calendar.
Step 10:
Additional settings like "Include Saturday/Sunday columns", "Starting day", and selection features can be configured to fine-tune how your calendar operates and appears.
Step 11:
Optionally, you can set "Use a dynamic color for each event" if you want to display events in various colors based on a color field in your database.
Step 12:
Set up triggers such as "A calendar's event is clicked" and "A calendar's day is clicked" using Bubble's workflow to define actions when a user interacts with the calendar.