oliverthiele/ot-sitekit-ce-card 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

oliverthiele/ot-sitekit-ce-card

最新稳定版本:v1.1.1

Composer 安装命令:

composer require oliverthiele/ot-sitekit-ce-card

包简介

TYPO3 content element that displays a card element. Integrates with the Sitekit and ot-irrebuttons extensions.

README 文档

README

Extension-Key: ot_sitekitcecard

TYPO3 content element for displaying a Bootstrap-style card. Part of the Sitekit ecosystem – integrates seamlessly with ot-sitekit-base and ot-irrebuttons.

🧩 Features

  • Responsive Bootstrap card layout with .card, .card-body, .card-img-top, etc.
  • Works independently or within the Card Grid container ( ot-sitekit-base-container-grid-cards)
  • Automatic wrapper handling via fluid layout switching (NoWrapper vs. Default)
  • Supports:
  • Headline, subheader, body text
  • Image with optional link
  • IRRE buttons from ot-irrebuttons
  • Uses TYPO3's own file reference field (assets)

🧱 Requirements

Extension Version
typo3/cms-core ^13.4
oliverthiele/ot-sitekit-base *
oliverthiele/ot-irrebuttons ^3.2

⚙️ Installation

Via Composer:

composer require oliverthiele/ot-sitekitcecard

When developing with a local packages/ directory, use a path repository entry.

After installation, clear the TYPO3 caches:

vendor/bin/typo3 cache:flush

The content element “Card” automatically appears in the "New Content Element" wizard – with translated title and description.

🧩 Registration in TYPO3

  • New CType: ot_sitekitcecard
  • Icon ot-sitekit-ce-card registered in Configuration/Icons.php
  • Palette irreButtons after bodytext
  • Rich text editor enabled for bodytext
  • Field assets restricted to jpg,jpeg,png,gif,svg

🧠 Template overview

File: Resources/Private/Templates/Bootstrap5/Templates/CeCard.html

Uses dynamic layout selection:

<f:layout
    name="{f:if(condition: ‘{directParent.CType} == 'ot-sitekit-base-container-grid-cards’', then: ‘NoWrapper’, else: ‘Default’)}"/>

🧩 Acknowledgements

Developed by Oliver Thiele License: GPL‑2.0‑or‑later

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-11-30