heimrichhannot/contao-email_voting 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

heimrichhannot/contao-email_voting

最新稳定版本:2.0.1

Composer 安装命令:

composer require heimrichhannot/contao-email_voting

包简介

Email-based voting system using efg forms

README 文档

README

The module offers functionality for using an EFG form to be a voting form.

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

Only one vote per email is possible.

Technical instruction

Step 1

Add the necessary fields to a new EFG form:

alt myModulePreview

Step 2

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

Step 3

After adding the necessary fields, link them in the form's config:

alt myModulePreview

In order to confirm the voting, an email has to be sent:

alt myModulePreview

Step 4

The activation site needs to contain an activation module:

alt myModulePreview

The module doesn't need any further configuration

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

统计信息

  • 总下载量: 36
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 8
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-08-11