mikestecker/craft-guest-entries-honeypot
Composer 安装命令:
composer require mikestecker/craft-guest-entries-honeypot
包简介
Add a honeypot captcha to your Craft CMS guest entries form
README 文档
README
This plugin allows you to add a honeypot captcha to your Craft CMS guest entry form.
Requirements
This plugin requires Craft CMS 3.0.0 or later, and the Guest Entries plugin.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
Go to the Plugin Store in your project’s Control Panel and search for “Guest Entries Honeypot”. Then click on the “Install” button in its modal window.
With Composer
Open your terminal and run the following commands:
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require mikestecker/craft-guest-entries-honeypot # tell Craft to install the plugin ./craft install/plugin guest-entries-honeypot
Setup
To configure the plugin, go to Settings → Guest Entries Honeypot, and choose a param name that your honeypot field should have.
Then edit your entry form template(s), and add the honeypot field.
<input id="secretHoneypotParamName" name="secretHoneypotParamName" type="text">
You can hide the field with CSS:
input#secretHoneypotParamName { display: none; }
统计信息
- 总下载量: 1.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-20