quellenform/t3x-lib-ical-eventnews

iCalendar Provider for Events

0.4.3 2024-01-25 15:07 UTC

This package is auto-updated.

Last update: 2024-11-25 17:20:08 UTC


README

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>