remind/teaser
Composer 安装命令:
composer require remind/teaser
包简介
REMIND - Teaser
README 文档
README
REMIND - Teaser Extension
A headless TYPO3 extension for teaser selections as a content element.
Keypoints
- Adds one content element:
teaser_selectionlist(label: Teaser selection). - Uses its own domain table:
tx_teaser_domain_model_teaser. - Returns frontend JSON via Extbase (
TeaserController->selectionListAction). - Designed for REMIND headless setups (
remind/headless,remind/extbase). - Supports categories and one image reference per teaser.
Requirements
- TYPO3
^13.4 - PHP version compatible with TYPO3 v13 requirements
- Dependencies:
remind/extbaseremind/headless
Installation
- Install the extension via Composer.
- Run database updates (adds table
tx_teaser_domain_model_teaser). - Include static TypoScript
REMIND - Teaser Extensionin your site template.
Available Content
Teaser Record
Table: tx_teaser_domain_model_teaser
Main fields:
titlesubtitlebodytext(RTE)image(single file)link(TYPO3 link field)categories
Content Element: Teaser Selection
CType: teaser_selectionlist
Content element configuration:
pages: limits teaser selection to records on selected pages- FlexForm
records: selected teaser records - FlexForm
enableLink: available, currently not used in controller logic
Output (Headless JSON)
The content element renders JSON with a list of selected teasers.
Typical fields per item:
uidpidtitlesubtitlebodytext(processed withlib.parseFunc_links)link(decoded, includinghref)image(if available)categories(if available)
Development
Useful Composer scripts:
composer phpcscomposer phpstancomposer phpunitcomposer static-analysis
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-04-11