heimrichhannot/contao-field-value-copier-bundle
最新稳定版本:1.4.3
Composer 安装命令:
composer require heimrichhannot/contao-field-value-copier-bundle
包简介
This simple module offers a backend dca input type for showing a giving the user the opportunity to copy a certain dca's field value from one record to another in Contao CMS.
README 文档
README
This simple module offers a backend dca input type for showing a giving the user the opportunity to copy a certain dca's field value from one record to another in Contao CMS. This is useful for fields that are very complex to configure.
Features
Technical instructions
Add the following to the relevant DCA:
'complexFieldCopier' => [
// no label necessary
'inputType' => 'fieldValueCopier',
'eval' => [
'fieldValueCopier' => [
'table' => 'tl_my_dca',
'field' => 'complexField',
'config' => [
// here all available config parameters found in \HeimrichHannot\UtilsBundle\Choice\ModelInstanceChoice::collect() are possible
'labelPattern' => '%title% (ID %id%)' // all of the dca's fields can be used here
],
'options_callback' => ['huh.field_value_copier.util.field_value_copier_util', 'getOptions']
]
]
],
'complexField' => [
// ...
]
统计信息
- 总下载量: 7.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2019-01-22
