定制 silverware/userforms 二次开发

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

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

silverware/userforms

Composer 安装命令:

composer require silverware/userforms

包简介

SilverWare UserForms Module.

README 文档

README

Latest Stable Version Latest Unstable Version License

Extends the SilverStripe UserForms Module for use with SilverWare apps.

Contents

Requirements

Installation

Installation is via Composer:

$ composer require silverware/userforms

Configuration

By default, this module will disable the built-in CSS and JavaScript that is required by silverstripe/userforms. This is achieved within the config.yml file with the following configuration:

SilverStripe\UserForms\Model\UserDefinedForm:
  block_default_userforms_js: true
  block_default_userforms_css: true

The configuration file also changes the user form validator to an instance of SilverWare Validator using the following configuration:

SilverStripe\UserForms\Form\UserForm:
  custom_validator_class: SilverWare\Validator\Validator
  custom_validator_enabled: true

Usage

This module adds an extension to the UserForm class which replaces the standard validator class with an instance of SilverWare Validator. This extension also adds a further extension point to UserForm named updateValidator, if you need to further customise the validator instance.

Template overrides are also provided by this module which replace the standard user form templates with ones that will render correctly in SilverWare apps, namely with Bootstrap 4 theme classes and the Parsley.js validation errors provided by SilverWare Validator.

Issues

Please use the issue tracker for bug reports and feature requests.

Contribution

Your contributions are gladly welcomed to help make this project better. Please see contributing for more information.

Maintainers

Colin Tucker Praxis Interactive
Colin Tucker Praxis Interactive

License

BSD-3-Clause © Praxis Interactive

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-05-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固