定制 derhansen/sf-event-mgt-contentelements 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

derhansen/sf-event-mgt-contentelements

最新稳定版本:3.0.2

Composer 安装命令:

composer require derhansen/sf-event-mgt-contentelements

包简介

Adds a relation field for content elements to events

README 文档

README

This TYPO3 extension extends sf_event_mgt to support content element relations in event records. When installed, it is possible to assign various content elements to event records as shown on the screenshot below.

Content element relation

Installation

  • Install the extension either via composer (recommended) or the TYPO3 Extension Manager
  • Include the static TypoScript "Event management and registration - Content elements"
  • Modify your templates as shown in the next section

Required template changes

In every template, where related content elements of an event should be shown, it is required to use the EventContentElements ViewHelper. To do so, register the ViewHelpers of this extension in the HTML element and use the ViewHelper to hand over the content element uids of the given event to TypoScript content element rendering.

Example:

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
  xmlns:ece="http://typo3.org/ns/Derhansen/SfEventMgtContentelements/ViewHelpers"
  data-namespace-typo3-fluid="true">
  
  <f:cObject typoscriptObjectPath="lib.tx_sfeventmgt.contentElementRendering">{ece:eventContentElements(event: event)}</f:cObject>
  
</html>

Recommended settings

Since content elements related to an event will be shown in the list and the page module, it is highly recommended to set "Contains Plugin" to "Events" for the folder(s) containing event records.

Folder Settings

This setting will hide related content elements in the list and page module.

Versions

Version TYPO3 PHP Support/Development
3.x 13.4 8.1 - 8.3 Features, Bugfixes, Security Updates
2.x 12.4 8.1 - 8.3 Features, Bugfixes, Security Updates
1.x 11.5 7.4 - 8-3 Bugfixes, Security Updates

Thanks for sponsoring

Thanks a lot to MENNEKES Elektrotechnik GmbH & Co. KG for sponsoring the initial development of this extension and for supporting open source software.

统计信息

  • 总下载量: 3.67k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-06-17