friendsoftypo3headless/headless-backendlayouts

此扩展将TYPO3后端布局的序列化JSON添加到TYPO3无头外观键中

1.0.2 2022-03-28 13:24 UTC

This package is auto-updated.

Last update: 2024-09-05 15:22:38 UTC


README

SWUbanner

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

TYPO3扩展"headless_backendlayouts"

将TYPO3后端布局的序列化JSON添加到"EXT:headless"扩展外观键中

要求

扩展需要至少TYPO3版本11.5以及"EXT:headless" ^3.0

TYPO3安装

使用composer安装扩展
composer require friendsoftypo3headless/headless-backendlayouts

然后,包括TypoScript模板,即可开始使用。

示例输出

{
  ...
  appearance: {
    ...
    pageContentRows": [
    {
      "type": "row",
      "tag": "header",
      "children": [
        {
          "type": "col",
          "name": "Header Content",
          "contentColPos": "colPos3",
          "colPos": "3",
          "colspan": 12,
          "tag": null
        }
      ]
    },
    {
      "type": "row",
      "tag": null,
      "children": [
        {
          "type": "col",
          "name": "Example Content Column",
          "contentColPos": "colPos8",
          "colPos": "8",
          "colspan": 12,
          "tag": null
        }
      ]
    },
    {
      "type": "row",
      "tag": null,
      "children": [
        {
          "type": "col",
          "name": "Example Content Column",
          "contentColPos": "",
          "colPos": "0",
          "colspan": 12,
          "tag": null
        }
      ]
    },
    {
      "type": "row",
      "tag": "aside",
      "children": [
        {
          "type": "col",
          "name": "Example Content Column",
          "contentColPos": "colPos9",
          "colPos": "9",
          "colspan": 12,
          "tag": null
        }
      ]
    },
    {
      "type": "row",
      "tag": "footer",
      "children": [
        {
          "type": "col",
          "name": "Footer Content Left",
          "contentColPos": "colPos10",
          "colPos": "10",
          "colspan": 4,
          "tag": null
        },
        {
          "type": "col",
          "name": "Footer Content Middle",
          "contentColPos": "colPos11",
          "colPos": "11",
          "colspan": 4,
          "tag": null
        },
        {
          "type": "col",
          "name": "Footer Content Right",
          "contentColPos": "colPos12",
          "colPos": "12",
          "colspan": 4,
          "tag": "div"
        }
      ]
    }
  ]
  ...
}

参与项目的开发者