contentblocks / content-blocks
TYPO3 CMS 内容块 - 内容类型API
Requires
- symfony/var-exporter: ^7.0
- typo3/cms-backend: ^13.2
- typo3/cms-core: ^13.2
- typo3/cms-fluid: ^13.2
- typo3/cms-frontend: ^13.2
Requires (Dev)
- bnf/phpstan-psr-container: ^1.0.1
- contentblocks/examples: @dev
- friendsofphp/php-cs-fixer: ^3.22
- friendsoftypo3/phpstan-typo3: ^0.9.0
- phpstan/phpstan: ^1.10.22
- phpstan/phpstan-phpunit: ^1.3.13
- typo3/cms-extbase: ^13.2
- typo3/cms-extensionmanager: ^13.2
- typo3/cms-filelist: ^13.2
- typo3/cms-install: ^13.2
- typo3/cms-lowlevel: ^13.2
- typo3/cms-rte-ckeditor: ^13.2
- typo3/cms-tstemplate: ^13.2
- typo3/cms-workspaces: ^13.2
- typo3/coding-standards: ^0.8
- typo3/testing-framework: ^8
- dev-main
- 0.8.x-dev
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.x-dev
- 0.7.17
- 0.7.16
- 0.7.15
- 0.7.14
- 0.7.13
- 0.7.12
- 0.7.11
- 0.7.10
- 0.7.9
- 0.7.8
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.x-dev
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-new-folder-structure
- dev-remove-field-type-enum
- dev-autowire-locator
- dev-core-system-column-enrichment
- dev-core-auto-system-fields-tt-content
- dev-core-relation-resolver
- dev-record-object
- dev-asset-path-vh
- dev-use-core-tca-schema
- dev-typo3-v13
- dev-add-fields-for-metadata-tab
- dev-185-bug-inline-children-ignore-enablecolumns-after-flushing-all-caches
- dev-feat/add-service-create-content-type
- dev-json-schema
- dev-json-schema-philipp
- dev-fix-docu-type-number
- dev-feature-page-information-partial
- dev-field-types
- dev-92-feature-pagetype-automatic-hideinmenu-icon-registration
- dev-136-sort-output-of-fieldtypes
- dev-tca-schema
- dev-feature-plugins
This package is auto-updated.
Last update: 2024-09-21 00:10:47 UTC
README
TYPO3 CMS 内容块
这是TYPO3内容块项目的独立仓库。内容块提供了一种新的API来创建自定义内容类型,如内容元素、页面类型或通用记录类型。现在在您的TYPO3 v12/v13项目中使用它,最终它将成为TYPO3 v13 LTS的核心功能。
2024年路线图
安装
通过composer安装此包
composer req contentblocks/content-blocks
或者,通过TYPO3后端中的扩展管理器安装。扩展密钥是content_blocks
。
使用方法
有关如何使用内容块API的详细信息,请参阅文档。
JSON模式
通过JSON模式启用验证和自动完成。
开发
有一个ddev设置可供使用。确保在您的机器上安装了ddev。然后运行
ddev start
ddev composer install
touch .Build/public/FIRST_INSTALL
ddev launch
默认URL是https://content-blocks.ddev.site/。继续TYPO3安装过程。
测试
首先安装composer依赖项
composer install
然后通过执行以下操作运行单元或功能测试
Build/Scripts/runTests.sh -s unit
Build/Scripts/runTests.sh -s functional
提示
在开始测试之前,请确保在您的IDE(例如PhpStorm)中排除.Build/public/typo3temp
目录的索引。
渲染文档
当您更新文档时,您可以尝试在本地渲染它(需要Docker)
make docs
您可以使用以下方法测试语法和引用是否正确
make test-docs
反馈
您可以在TYPO3 Slack频道#cig-structuredcontent
上联系我们。我们非常欢迎任何建设性的反馈。
常见问题解答
问题:content_blocks_reg_api是否将针对TYPO3 v12进行进一步开发?
答案:最初于2020年创建的前身content_blocks_reg_api
将不会针对TYPO3 v12进行进一步开发。此系统扩展将完全取代它。一旦我们达到稳定开发状态,我们将提供迁移步骤。
此扩展完全从头开始开发,除了初始概念外,与content_blocks_reg_api没有任何关系。目标是创建一个系统扩展,它结合了内容块和Mask扩展的最佳概念。