TYPO3 CMS Extension "lib_ical"
This Extension acts as iCal-Service in TYPO3 which will be used by different Data-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.