定制 inoovum/formcaptcha 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

inoovum/formcaptcha

最新稳定版本:1.0.3

Composer 安装命令:

composer require inoovum/formcaptcha

包简介

Captcha form field to protect recipients from spam.

README 文档

README

Captcha form field to protect recipients from spam.

Installation

The Inoovum.FormCaptcha package is listed on packagist (https://packagist.org/packages/inoovum/formcaptcha) - therefore you don't have to include the package in your "repositories" entry any more.

Just run:

composer require inoovum/formcaptcha

Usage

Use the form element "Captcha" and the validator "Captcha validator". Please note that you have to exclude the form element Captcha in the template of the email finisher.

Override email template

prototype(Neos.Form.Builder:EmailFinisher.Definition) {
    options {
        templatePathAndFilename = 'resource://Inoovum.FormCaptcha/Private/Templates/Form/Email.html'
    }
}

Usage in your own email template

<f:if condition="{0: formValue.element.type} == {0: 'Inoovum.FormCaptcha:Captcha'}">
    <f:else>
        <th style="text-align:left;">{f:if(condition: formValue.element.label, then: formValue.element.label, else: formValue.element.identifier)}</th>
        <td>{formValue.value}</td>
    </f:else>
</f:if>

Author

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-06-08