silbinarywolf/usersubmissionpages
Composer 安装命令:
composer require silbinarywolf/usersubmissionpages
包简介
Adds a customizable form where users can submit information to be approved and added to a listing by the CMS user.
README 文档
README
Extends User Defined Forms so that CMS users can create customized listings based on user submissions. Example steps are:
- A CMS user can create a business listing form.
- Then a user will submit details about their business using the form.
- A CMS user then approves the submission and a page is created, utilizing the submission data.
Search Form
This module comes with the ability to enable the various form fields to be searchable. Simply edit a field and under the 'Search' tab, configure appropriately.
You can also turn this off by setting:
UserSubmissionHolder: enable_search_form: false
This will prevent any search related DB fields from being created on EditableFormField.
Templating the $Listing
- Copy 'UserSubmissionHolder_Listing.ss' from usersubmissionpages/templates/Includes/UserSubmissionHolder_Listing.ss into your theme/Includes folder.
- /dev/build or ?flush=1
- Modify as you see fit.
Requirements
- SilverStripe 3.1 or higher
- User Defined Forms 3.0
- BetterButtons 1.2 or higher (lower versions might work fine but are untested)
Installation
composer require silbinarywolf/usersubmissionpages:1.1.*
统计信息
- 总下载量: 335
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-04-19