Since the 1.7.3 version of the program, it is possible to import the events from remote calendars, such as Google Calendar, Apple iCal and Outlook.

The events will be extracted from an ICS URL provided by your remote calendar. Take a look at the related articles to see how you can find this ICS URL.

iCalendar Import Workflow

It is possible to configure the system in 2 different ways:

  • a single calendar can be assigned to a single employee;
  • a single calendar can be assigned to a specific service-employee relationship.

In the first case, the events of the calendar will be imported for the selected employee. The system will try to detect the best service to assign according to these criteria:

  1. checks whether the event summary matches a service name;
  2. searches for a service with the same duration of the event;
  3. takes the first available service.

From the management page of an employee, under the Calendar section, it is possible to click the "Edit" button to specify an import URL for the calendar (first solution).

iCalendar Import Employee Configuration buttoniCalendar Import Employee Configuration inspector

If you wish to specify an import URL for a given employee-service relationship, you need to open the management page of a service, access the Assignments tab and edit an employee. Here you should be able to see an apposite section to enter the import URL.

iCalendar Import Service Employee Configuration

Cron Job Setup

Once the configuration has been completed, it is needed to set up an apposite CRON JOB of type "iCalendar Appointments Import". This way, the system will periodically scan all your calendars in search of new events to import or existing events to update.

  • Visit the ConfigurationCRON Jobs page
  • Click the See Cron Jobs List button
  • Click the New button from the toolbar
  • Enter a descriptive name
  • Select "iCalendar Appointments Import" under the Class dropdown
  • Publish the cron job and save the changes

iCalendar Import Cron Job Configuration

At this point, you can go back to the Configuration > CRON Jobs page and access the Installation tab. You should follow the instructions listed there in order to set up a task that will be periodically executed by the server. The instructions may vary depending on your Joomla! version.

Last Update: 2022-02-25 14:56
Helpful?
100% of people found this helpful.