supseven/empty_colpos_content
Composer 安装命令:
composer require supseven/empty_colpos_content
包简介
XClass for for hooking into empty colpos Layouts
README 文档
README
Whats that?
If You have BackendLayouts with a Column without any Colpos, and You want to display information in that Column, simply add the newly added Hook.
Example ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['drawColPos'][1542873608]
= \YourNameSpace\YourExtension\Hooks\Backend\PageLayoutView::class .'->render';
Use the shipped Hook as an Example and change it for Your needs.
If no own Hook is used, with installation of this Extension, an Example Hook is implemented.
Use Extension Configuration to make this visible to all or just admin Users.
Example BackendLayout Config
mod {
web_layout {
BackendLayouts {
Default {
title = Home
config {
backend_layout {
colCount = 1
rowCount = 3
rows {
1 {
columns {
1 {
name = Main
colPos = 0
}
}
}
2 {
columns {
1 {
name = Something
emptyColPos = 0
}
}
}
3 {
columns {
1 {
name = Something Else
emptyColPos = 1
}
}
}
}
}
}
}
}
}
}
KTHXBYE! Volker.
统计信息
- 总下载量: 1.67k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-11-22