定制 siezi/phile-contact-form 二次开发

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

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

siezi/phile-contact-form

最新稳定版本:1.0.0

Composer 安装命令:

composer require siezi/phile-contact-form

包简介

Contact Form Plugin for PhileCMS

README 文档

README

Add a simple contact-form onto a page which sends the form data to an email address.

Project Home

1.1 Installation (composer)

"require": {
	"siezi/phile-contact-form": "*"
}

1.2 Installation (Download)

  • download this plugin into plugins/siezi/phileContactForm

2. Activation

After you have installed the plugin you need to activate it. Add the following line to your /config.php file:

$config['plugins']['siezi\\phileContactForm'] = ['active' => true];

3. Start

Set the email-address the contact form is send to:

$config['plugins']['siezi\\phileContactForm']['recipient-email'] = 'contact@example.com';

Put

(contact-form: simple)

onto the page where the contact form should be inserted.

4. Config

See config.php.

Events

plugin.siezi.contactForm.send

Triggered when the received form data is processed.

By altering the returned success parameter allows you to utilize the form data and perform your own action and/or suppress the default (send email).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-05-01