silbinarywolf/usersubmissionpages

Adds a customizable form where users can submit information to be approved and added to a listing by the CMS user.

Installs: 335

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Type:silverstripe-module

1.2.0 2017-07-17 06:53 UTC

This package is not auto-updated.

Last update: 2024-12-23 00:01:53 UTC


README

Screenshot

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

Installation

composer require silbinarywolf/usersubmissionpages:1.1.*