thewebmen/silverstripe-voting-campaign

Create voting campaigns

Installs: 348

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Type:silverstripe-vendormodule

0.4.6 2019-08-01 09:34 UTC

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