iCal support for calendar of Contao OpenSource CMS. Forked from https://github.com/Craffft/contao-calendar-ical-bundle. PHP-8 ready.
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require cgoit/contao-calendar-ical-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Starting with version 5 of this bundle Contao 5 is supported. Many things have been refactored in this version, many classes have been split or moved. Therefore, the chance that something does not yet work 100% is quite high. I therefore recommend that all Contao 4 users check very carefully whether version 5 works the way they want it to. Alternatively, version 4 can continue to be used for Contao 4.
If you have overwritten the default difference between start and end date in your localconfig.php
via setting a value for $GLOBALS['calendar_ical']['endDateTimeDifferenceInDays']
you have to put this value now into your config.yml
.
cgoit_contao_calendar_ical:
end_date_time_difference_in_days: 365