承接 dd/evolutioncms-plugins-managermanager-mm_synch_fields 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

dd/evolutioncms-plugins-managermanager-mm_synch_fields

Composer 安装命令:

composer require dd/evolutioncms-plugins-managermanager-mm_synch_fields

包简介

Widget for ManagerManager plugin that allows a few fields values to be synchronized while editing the document. E. g. it`s required that page title and menu title have the same value. It's especially useful when some values being synchronized are hidden.

README 文档

README

Widget for ManagerManager plugin that allows a few fields values to be synchronized while editing the document. E. g. it`s required that page title and menu title have the same value. It's especially useful when some values being synchronized are hidden.

Works only with the text inputs (input, textarea).

Requires

Documentation

Installation

To install you must unzip the archive to /assets/plungins/managermanager/widgets/mm_synch_fields/.

You may also read this documentation:

Parameters description

  • $params

    • Desctription: Parameters, the pass-by-name style is used.
    • Valid values:
      • stdClass
      • arrayAssociative
    • Required
  • $params->fields

    • Desctription: The names of document fields or TVs that should be synched.
      Requires a minimum of 2 field names.
    • Valid values: stringCommaSeparated
    • Required
  • $params->roles

    • Desctription: The CMS user roles that the widget is applied to.
    • Valid values:
      • stringCommaSeparated
      • '' — when this parameter is empty then widget is applied to the all roles
    • Default value: ''
  • $params->roles[i]

    • Desctription: CMS user role.
    • Valid values: integer
    • Required
  • $params->templates

    • Desctription: Document templates IDs for which the widget is applying to.
    • Valid values:
      • stringCommaSeparated
      • '' — empty value means the widget is applying to all templates
    • Default value: ''
  • $params->templates[i]

    • Desctription: Templates ID.
    • Valid values: integer
    • Required

CMS events

  • OnDocFormPrerender
  • OnDocFormRender

Examples

Make the contents of these three fields always equal for all users and all documents

mm_synch_fields('pagetitle,menutitle,longtitle');

Links

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2020-10-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固