2017 © Pedro Peláez
 

contao-module contao-email_voting

Email-based voting system using efg forms

image

heimrichhannot/contao-email_voting

Email-based voting system using efg forms

  • Thursday, January 19, 2017
  • by digitales@heimrich-hannot.de
  • Repository
  • 6 Watchers
  • 1 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Contao E-Mail Voting

The module offers functionality for using an EFG form to be a voting form., (*1)

In order to offer a certain amount of protection against fake votes, every vote needs to be confirmed via email., (*2)

Only one vote per email is possible., (*3)

Technical instruction

Step 1

Add the necessary fields to a new EFG form:, (*4)

alt myModulePreview, (*5)

Step 2

Activate "Save formdata (efg)" in the form configuration (alias field could be email)., (*6)

Step 3

After adding the necessary fields, link them in the form's config:, (*7)

alt myModulePreview, (*8)

In order to confirm the voting, an email has to be sent:, (*9)

alt myModulePreview, (*10)

Step 4

The activation site needs to contain an activation module:, (*11)

alt myModulePreview, (*12)

The module doesn't need any further configuration, (*13)

Features

Modules

Name Description
ModuleEmailVotingActivation A module taking a token in the GET parameter to activate the voting.

Hooks

Name Arguments Description
processEfgFormData -> generateTokenLink $objTemplate, $arrItem, $objModule Adds a token link in order to use it in the confirmation email after a voting
validateFormField -> validateVotingEmailFormField $objWidget, $intId Checks for existing votings for a certain email address

The Versions

19/01 2017
03/05 2016

1.0.1

1.0.1.0 https://github.com/heimrichhannot/contao-email_voting

Email-based voting system using efg forms

  Sources   Download

LGPL-3.0+

The Requires

 

contao voting

11/08 2015