nswdpc/silverstripe-thereisnouserform

This module hides User Defined Form pages in the CMS when using silverstripe/userforms together with dnadesign/silverstripe-elemental-userforms

Installs: 3 560

Dependents: 1

Suggesters: 1

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

v1.0.0 2024-07-26 03:04 UTC

This package is auto-updated.

Last update: 2024-10-26 03:40:41 UTC


README

Assists content editors in avoiding Inception-style situations where userform pages can contain elemental form elements.

It favours the elemental page building approach, and so:

  • The extension blocks "User Form" page type creation in the CMS (canCreate = false)
  • The configuration adds SilverStripe\UserForms\Model\UserDefinedForm as a hidden ancestor of Page

After this module is added, the only way to add user defined forms to a site is via the Form content element.

If your project contains dnadesign/silverstripe-elemental-userforms already, add this module to provide the required configuration.

If it doesn't, add this module via composer and it will install the module and its requirements.

Installation

The only support way of installing this module is via composer:

composer require nswdpc/silverstripe-thereisnouserform

Roadmap

Hopefully in the future this module won't be required.

License

BSD-3-Clause

Maintainers

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.