quellenform/t3x-lib-ical

Download database-records as calendar items (VEVENT).

Installs: 27

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

0.4.3 2024-01-08 21:11 UTC

This package is auto-updated.

Last update: 2024-04-25 16:10:43 UTC


README

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.