/t3x-lib-ical

TYPO3 Library: iCalendar

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Donate Latest Stable Version TYPO3 11 TYPO3 12 License

TYPO3 Library: iCalendar

TYPO3 CMS Extension "lib_ical"

What does it do?

This Extension acts as iCal-Service in TYPO3 which will be used by different Data-Providers.

Add Providers

Install a Data-Provider for EXT:lib_ical or register your own with the following lines of code in ext_localconf.php

\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
        \Quellenform\LibIcal\IcalRegistry::class
    )->registerProvider(
        'eventnews',
        \Quellenform\LibIcalEventnews\Provider\EventnewsProvider::class,
        [
            'components' => 'vevent',
            'class' => \GeorgRinger\News\Domain\Repository\NewsRepository::class
        ]
    );

Add additional lines to your templates and use the provided ViewHelper:

<ical:link class="btn btn-primary" provider="eventnews" additionalParams="{uid:newsItem.uid,custom:'value'}">Download</ical:link>

Note: Since this is currently a beta version, only records of the type "vevent" are possible.