Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_config Voting Mar 29, 2019
src
templates/TheWebmen/VotingCampaign Voting Mar 29, 2019
.gitignore First commit Mar 22, 2019
LICENSE First commit Mar 22, 2019
README.md Voting Mar 29, 2019
composer.json First commit Mar 22, 2019

README.md

SilverStripe Voting Campaign

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
You can’t perform that action at this time.