oliverthiele/ot-sitekit-ce-card
最新稳定版本:v2.0.0
Composer 安装命令:
composer require oliverthiele/ot-sitekit-ce-card
包简介
CE Card - TYPO3 content element that displays a card element. Integrates with the Sitekit and ot-irrebuttons extensions.
README 文档
README
Bootstrap 5 card content element for TYPO3 v13 and v14. Part of the SiteKit ecosystem.
Features
- Bootstrap 5 card layout —
.card,.card-body,.card-img-top - Standalone or grid — works as a standalone content element or inside a
Card Grid container (
ot-sitekit-base-container-grid-cards) - Dynamic layout selection — automatically switches between
NoWrapperandDefaultFluid layout depending on the parent container - Header with optional icon, subheader, body text (RTE), image (FAL, optional link)
- IRRE buttons via
ot-irrebuttons - Flexible icon positioning — above title, above title (centered), inline left, or responsive (top on mobile, inline on desktop)
- Backend preview renderer — card preview directly in the TYPO3 page module
Requirements
| Package | Version |
|---|---|
typo3/cms-core |
^13.4 | ^14.3 |
| PHP | >=8.3 |
oliverthiele/ot-sitekit-base |
* |
oliverthiele/ot-irrebuttons |
^4.0 |
Installation
composer require oliverthiele/ot-sitekit-ce-card
The content element Card appears automatically in the New Content Element wizard.
Icon positioning
Card titles support an optional icon. The layout is controlled via CSS modifier classes:
| Class | Behaviour |
|---|---|
icon-top |
Icon above title (left-aligned) |
icon-top-center |
Icon above title (centred) |
icon-left |
Icon inline, left of title |
icon-responsive |
Icon top on mobile, inline on desktop |
Icon output is delegated to the Icon partial provided by ot-sitekit-base.
License
GPL-2.0-or-later — see LICENSE
Author
Oliver Thiele — oliver-thiele.de
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-11-30