Skip to content

TYPO3 Library: iCalendar Provider for "EXT:eventnews"

License

Notifications You must be signed in to change notification settings

quellenform/t3x-lib-ical-eventnews

Repository files navigation

Donate Latest Stable Version TYPO3 11 TYPO3 12 License

iCal Provider for "eventnews"

TYPO3 CMS Extension "lib_ical_eventnews"

What does it do?

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.

Installation/Configuration

  1. Install/configure EXT:news and EXT:eventnews
  2. Install this extension with composer or from TER/git
  3. 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>