fanor51/headless-container-support 问题修复 & 功能扩展

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

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

fanor51/headless-container-support

最新稳定版本:3.2.0

Composer 安装命令:

composer require fanor51/headless-container-support

包简介

Extension that adds container support for TYPO3 Headless extension

README 文档

README

Install

Install as any other extension:

  • Composer: composer require fanor51/headless-container-support
TYPO3 Version v11 v12 v13
This Version 2.* 3.* ^3.2

Use

Take a look into Example/TypoScript/Container/50_wrapper.typoscript there is an example on how to configure the container. The special thing here is that we add a "new" data processor to the config. the processor is mainly the one from the container extension. Something was added only at the end

After this you need to overwrite the standard lib.content object with a where clause to exclude the "special" colPos´s from the container extension.

# PRELOAD EXTENSIONS SETTINGS @import 'EXT:headless/Configuration/TypoScript/' # Overwrite the default lib.content from the headless extension with added colPos where in YOUR Config Extension # Add the colPos IDS from your Container Configuration to the where lib.content = CONTENT_JSON lib.content { table = tt_content select { orderBy = sorting where = colPos NOT IN (201,202,203) } } 

In this example we use the colPoses 201,202 and 203 for container contents which where setted in the container config under Configuration/TCA/Overrides/tt_content.php. An example for this you can find here: Example/TCA/Overrides/tt_content.php

In the end it should look like this:

image description

A complete json example is under: Docs/Json/Example.json

Customize

You can customize the names from the equivalent of the colPos in the TYPOSCRIPT like you need or want it.

image description

Credits

The development of the extension was supported by the TYPO3 agency brandung GmbH.

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 6
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固