dnadesign/silverstripe-elemental-userforms
Composer 安装命令:
composer require dnadesign/silverstripe-elemental-userforms
包简介
Adds a new element for usersforms
README 文档
README
Introduction
This module integrates silverstripe/silverstripe-userforms into dnadesign/silverstripe-elemental and provides a new content block called "Form", which can be used to create user defined forms.
Installation
composer require dnadesign/silverstripe-elemental-userforms
Usage
Once installed, you will see a "Form" option when adding a new element to a page:
From here, editing the form is the same as using the UserForms module normally. Please refer to the UserForms module documentation for more information.
Applying the ElementalPageExtension
Note that if you apply the ElementalPageExtension to a high-level class like SiteTree or Page, the default UserDefinedForm page from the UserForms module will also be available in your CMS. This can be confusing to a user, especially if you can add a Form to a UserDefinedForm page which already has everything it needs from the UserForms module by default.
There are valid use cases where this might be what you want (or variations of it), however we would recommend applying the ElementalPageExtension to subclasses of Page and excluding the UserDefinedForm class from this extension to avoid this situation from happening.
Inline editing
Please note that form elements are not inline editable. Clicking on them in the CMS will take you to a GridField edit form instead.
Blocking default CSS and JS
silverstripe/silverstripe-userforms includes default CSS and Javascript. If you want to block them from being included in your page when using ElementForm, you will need to set the configuration flag at the ElementForm level.
DNADesign\ElementalUserForms\Model\ElementForm: block_default_userforms_js: true block_default_userforms_css: true
Versioning
This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.
All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.
Reporting Issues
Please create an issue for any bugs you've found.
dnadesign/silverstripe-elemental-userforms 适用场景与选型建议
dnadesign/silverstripe-elemental-userforms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 376.93k 次下载、GitHub Stars 达 8, 最近一次更新时间为 2017 年 10 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「silverstripe」 「element」 「userforms」 「Content Blocks」 「elemental」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dnadesign/silverstripe-elemental-userforms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dnadesign/silverstripe-elemental-userforms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dnadesign/silverstripe-elemental-userforms 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Element displaying information in regards to answers given to questions
Silverstripe reCAPTCHAv3 field for userforms
A collection of enhancements and utilities for the Silverstripe UserForms module
hyperf UI 插件,用php代码写amis组件神器
Adds PHP functions to the block to output the entire tree data as JSON format.
统计信息
- 总下载量: 376.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 28
- 依赖项目数: 16
- 推荐数: 6
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-10-11
