schmidtwebmedia / grid-for-container
为Container添加一个易于使用的网格元素。它与框架无关。为Bootstrap做准备。
2.1.1
2023-04-26 05:57 UTC
Requires
- ext-json: *
- b13/container: ^1 || ^2
- typo3/cms-core: ^10.4 || ^11.5 || ^12.4
Replaces
- typo3-ter/grid_for_container: 2.1.1
README
描述
您可以使用此扩展来添加一个独立于框架的易于使用的网格。
它已预先配置为Bootstrap 3、4和5。
重要:Bootstrap CSS/JS未包含在内
功能
有为TYPO3编辑器提供的网格选项,例如(例如,两列)
- 50/50
- 33/66
- 25/75
适用于
- 1列网格
- 2列网格
- 3列网格
- 4列网格
后端
后端视图
前端
安装
- 安装扩展container。
- 安装扩展grid_for_container
- 包含静态模板
- 以简单的方式在TYPO3中使用网格:)
Composer安装
composer require schmidtwebmedia/grid-for-container
自定义
您可以在前端自定义输出,更改框架或添加更多网格比例选项。并在扩展设置中更改JSON配置文件的路径。
请使用以下json文件结构
{ "cols": [ { "onecol": [ { "label": "", "class": [ "", "" ] } ], "twocol": [ { "label": "", "class": [ "", "" ] } ], "threecol": [ { "label": "", "class": [ "", "", "" ] } ], "fourthcol": [ { "label": "", "class": [ "", "", "", "" ] } ] } ], "row": [ { "class": "" } ] }