thewebmen / silverstripe-voting-campaign
Create voting campaigns
Installs: 1 707
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^4.0@dev
- silverstripe/vendor-plugin: ^1.0
- unclecheese/display-logic: ^2.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3.0
README
Create a nomination page
Add the extension to the page class and to the controller:
YourNominationPage: extensions: - TheWebmen\VotingCampaign\Extensions\NominationPageExtension
YourNominationPageController: extensions: - TheWebmen\VotingCampaign\Extensions\NominationPageControllerExtension
YourVotingPage: extensions: - TheWebmen\VotingCampaign\Extensions\VotingPageExtension
YourVotingPageController: extensions: - TheWebmen\VotingCampaign\Extensions\VotingPageControllerExtension
YourResultsPage: extensions: - TheWebmen\VotingCampaign\Extensions\ResultsPageExtension