TYPO3 CMS Extension "lib_ical_eventnews"
This Extension registers a new iCal-provider for EXT:lib_ical
which allows you to download events created with EXT:news
in conjunction with EXT:eventnews
. Simple use a few lines in your News-Detail-Template to display a link which leads directly to the .ics-file neccessary for calendars.
- Install/configure
EXT:news
andEXT:eventnews
- Install this extension with composer or from TER/git
- Include the following lines in your News-Template:
{namespace ical=Quellenform\LibIcal\ViewHelpers}
<html xmlns:ical="http://typo3.org/ns/Quellenform/LibIcal/ViewHelpers" data-namespace-typo3-fluid="true">
<f:if condition="{newsItem.isEvent}">
<div class="ics-download">
<ical:link class="btn btn-primary" provider="eventnews" additionalParams="{uid:newsItem.uid}">
<span class="glyphicon glyphicon-calendar"></span>
<f:translate key="download" extensionName="lib_ical" />
</ical:link>
</div>
</f:if>