Menu

#766 CalDAV plugin

Parent Category:
DPCalendar
Category:
Calendar plugins
Last Updated:
Allon Moritz, Thursday, 20 July 2023 00:49
Created:
Thursday, 01 May 2014 20:14
Hits:
13533

This feature is part of the DPCalendar Professional subscription.
SubscribePHP 7.4PHP 8Joomla 3.10Joomla 4.4Joomla 5

Introduction

The CalDAV plugin integrates events from any CalDAV server like iCloud, nextcloud or ownCloud into DPCalendar. The only settings you need are the host, username and password and the events will be synced in two way mode. If the user has write permissions the CalDAV plugin allows to manipulate the events directly from within DPCalendar. This means all the actions you know like drag'n drop or the nice looking responsive edit form from DPCalendar are available for your CalDAV events as well.

The host parameter must be an url which directly points to a CalDAV endpoint like http://joomla.digital-peak.com/demo/dpc/components/com_dpcalendar/caldav.php. Additionally the calendar parameter must be an existing calendar where the user needs to have at least read permission, on our demo site an existing calendar is the "private-calendar". The easiest way is to import the calendars from your CalDAV server. To do so click on the import button in the plugin edit form.

Notes for iCloud integration

iCloud has a CalDAV endpoint to integrate your events into DPCalendar through the CalDAV plugin. There are some special requirements to integrate your iCloud events into DPCalendar:

  • An app specific password is mandatory, this support article describes how to get one
  • Access over HTTPS only
  • SSL must be selected in the configuration
  • Choose port 443
  • When you add the calendar manually, the host must be "https://caldav.icloud.com/xxxx", replace xxxx with the user ID
  • When you add the calendar manually, use as calendar value "/calendars"

Sharing the iCloud calendar: You will need to make the calendar in iCloud shared by clicking the curly brackets to the right of the calendar. Note at the same time the iCloud server in the link to the public calendar by clicking public. This will bring up a link which will look something like this: webcal://p05-calendarws.icloud.com/ca/subscribe/1xxxxxxxxxx.

CalDAV server urls for import

The following list shows host urls to import the calendars from. To import the calendars, the admin needs to hit the import button in the toolbar, while editing the CalDAV plugin in the Joomla core plugin manager.

DPCalendar

https://{host}/components/com_dpcalendar/caldav.php

NextCloud

https://{host}/remote.php/dav/

OwnCloud

https://{host}/remote.php/dav/

iCloud

https://caldav.icloud.com

one.com

https://caldav.one.com

DPCalendar Options

These settings are the same for every calendar configured in the plugin.

Host [Type: Text]
The host of the CalDAV server. For example https://joomla.digital-peak.com/demo/dpc/components/com_dpcalendar/caldav.php represents the DPCalendar access point. If you want to fetch your calendars from icloud then use https://caldav.icloud.com.
Username [Type: Text]
The CalDAV username.
Password [Type: Password]
The CalDAV password.
Calendar Url [Type: Text]
The URL of the calendar (e.g. private-calendar).

Plugin Options

Caching [Type: List] [Default: Joomla]
Select whether to cache the calendar data.
The following options are available:
  1. Joomla
  2. Database
  3. Never
Cache Time [Type: Text] [Default: 900]
The time for the cache in sec.
Sync Start [Type: Text] [Default: -3 year]
The relative start date to sync from.
Sync End [Type: Text] [Default: +3 year]
The relative end date to sync from.
Sync Steps [Type: Text] [Default: 1 year]
The sync steps.

Comments (0)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.