quellenform / t3x-lib-ical-eventnews

事件日历提供程序

安装: 40

依赖关系: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

公开问题: 1

类型:typo3-cms-extension

0.4.3 2024-01-25 15:07 UTC

This package is auto-updated.

Last update: 2024-08-25 16:44:03 UTC


README

Donate Latest Stable Version TYPO3 11 TYPO3 12 License

"eventnews" 的 iCal 提供程序

TYPO3 CMS 扩展 "lib_ical_eventnews"

它做什么?

此扩展为 EXT:lib_ical 注册了一个新的 iCal 提供程序,允许您下载使用 EXT:newsEXT:eventnews 创建的事件。只需在您的新闻详情模板中使用几行代码即可显示一个链接,该链接直接指向日历所需的 .ics 文件。

安装/配置

  1. 安装/配置 EXT:newsEXT:eventnews
  2. 使用 composer 或从 TER/git 安装此扩展
  3. 在您的新闻模板中包含以下行
{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>