wedevelopnl / silverstripe-elemental-widget-userforms
Re-usable user form widgets for silverstripe-elemental
Installs: 1 578
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- php: >=8.1
- gorriecoe/silverstripe-linkfield: ^1.0
- silverstripe/cms: ^4.11 || ^5.0
- silverstripe/framework: ^4.11 || ^5.0
- silverstripe/userforms: ^5.14 || ^6.0
- symbiote/silverstripe-multivaluefield: ^5.3 || ^6.0
- unclecheese/display-logic: ^2.0 || ^3.0
- wedevelopnl/silverstripe-elemental-widget: ^1.0
Requires (Dev)
- dev-main
- 1.2.2
- 1.2.1
- 1.2
- 1.1
- 1.0.0
- 1.0.0-rc10
- 1.0.0-rc.9
- 1.0.0-rc.8
- 1.0.0-rc.7
- 1.0.0-rc.6
- 1.0.0-rc.5
- 1.0.0-rc.4
- 1.0.0-rc.3
- 1.0.0-rc.2
- 1.0.0-rc.1
- dev-fix/setWidgetAndElementFromUrl
- dev-fix/housenumber-field
- dev-feature/non-elemental-usage
- dev-feature/update-elemental-widget
- dev-feature/editable-checkbox-with-link
- dev-feature/ss-5
- dev-widget-and-element-from-url
This package is auto-updated.
Last update: 2024-10-26 12:03:58 UTC
README
Re-usable user form widgets for silverstripe-elemental
Requirements
- See
composer.json
requirements
Installation
wedevelopnl/silverstripe-elemental-widget-userforms
Installation note
This module has silverstripe/userforms
as dependency which in certain situations doesn't
work as expected. If you have installed your site without silverstripe/recipe-cms
, then
make sure you have a global \PageController
controller defined before using this module. If
you do not have such a global controller then you can simply copy the one provided
by recipe cms and copy that one in your own project.
See #1198
License
See License
Maintainers
Development and contribution
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. See read our contributing document for more information.
Getting started
We advise to use Docker/Docker compose for development.
We also included a Makefile to simplify some commands
Our development container contains some built-in tools like PHPCSFixer
.
Cypress spec
This module includes some cypress specs for e2e testing with the module. The specs can be found in dev/cypress
.
These specs are mainly written to validate the module is in working order inside our own testing suite but they might be usable for other scenarios aswell.
The specs assume that our cypress support modules are installed
- https://github.com/wedevelopnl/silverstripe-cypress
- https://github.com/wedevelopnl/silverstripe-cypress-support and that they are ran from a test suite that has a fully functional silverstripe site.
In order to include these specs in your test run simply load the specs in your cypress.config.js
module.exports = defineConfig({
specPattern: [
'vendor/wedevelopnl/silverstripe-elemental-widget-userforms/dev/cypres/e2e/*.cy.js