innoweb/silverstripe-bundled-userforms
最新稳定版本:4.0.0
Composer 安装命令:
composer require innoweb/silverstripe-bundled-userforms
包简介
Bundles the JavaScript requirements for UserForms into one single file using the Requirements::combine_files() method.
README 文档
README
Overview
Bundles the Javascript requirements for UserForms into one single script and defers its loading if no conditional Javascript is present for the form.
It also supports the use of forms using the [elementa userforms module] (https://github.com/dnadesign/silverstripe-elemental-userforms).
Requirements
SilverStripe CMS 6, see composer.json
Installation
Install the module using composer:
composer require innoweb/silverstripe-bundled-userforms
Then run dev/build.
Usage
The module is automatically applied and loads a bundled version of the requirements for UserForms instead of the default ones.
If you want to load the default scripts for a certain UserForm class, use the following config:
Your\Custom\UserFormClass: block_default_userforms_js: false
License
BSD 3-Clause License, see License
统计信息
- 总下载量: 906
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-10-26