bitpatroon/typo3_tca2
Composer 安装命令:
composer require bitpatroon/typo3_tca2
包简介
Allows additional functions like conditions to if in pageTSConfig.
关键字:
README 文档
README
Allows additional function like conditions to if in pageTSConfig
##USAGE
###Example 1
Conditionally add a new item 123 (myItem) on tt_content.layout.
[userFunc = MyFunc(params)]
TCEFORM.tt_content.layout {
addItems {
123 = myItem
}
}
[global]
can be rewritten into
TCEFORM.tt_content.layout {
addItems {
123 = myItem
123.userFunc = MyFunc(params)
}
}
###Example 2
Conditionally disable layout 1 on tt_content.
[userFunc = MyFunc(params)]
TCEFORM.tt_content.layout {
disabled = 1
}
[global]
can be rewritten into
TCEFORM.tt_content.layout {
disabled = 1
disabled.userFunc = MyFunc(params)
}
统计信息
- 总下载量: 1.92k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-10-14