thewebmen/silverstripe-voting-campaign

Create voting campaigns

Installs: 161

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

0.4.4 2019-06-14 11:55 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