定制 heimrichhannot/contao-field-value-copier-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

heimrichhannot/contao-field-value-copier-bundle

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.

alt text

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' => [
    // ...
]

统计信息

  • 总下载量: 8.38k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 5
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2019-01-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固