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

0.5.1 2020-08-25 08:46 UTC

This package is auto-updated.

Last update: 2024-11-25 19:06:16 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