承接 heimrichhannot/contao-submissions 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

heimrichhannot/contao-submissions

Composer 安装命令:

composer require heimrichhannot/contao-submissions

包简介

A generic module to store and handle submissions in contao.

README 文档

README

A generic module to store form submissions in Contao. In contrast to Leads the storage is dca based.

Features

  • Directly store form generator submissions (with included form type)
  • Submissions organized in archives using a dedicated DCA including permissions handling
  • Highly customizable: define new fields on the data container.
  • Auto-creates palettes for your fields.
  • Bundles double opt-in process.
  • Export your submissions as (excel compatible) CSV
  • Notification Center 2.0 support (terminal42/contao-notification_center)
  • Integrated support for following extensions:

Install

  1. Install with composer or contao manager
composer require heimrichhannot/contao-submissions
  1. Update database

Usage

In the backend, you will find a new menu item called “Submissions”. Create a new archive with a title and select the fields that should be contained in your submissions.

Form generator

You can save your form generator submissions directly as a submission. Simply activate "Save as submission" and select the submission archive. The names of the form fields must be the same as the field names of the saved entity.

Use ##form_attachment_*## tokens in your notification center notifications to include attachments in your emails.

Opt in process

Use the built-in double opt-in process to verify submissions. Create an opt-in challenge notification in notification center and select it on your form in the form generator. You can also define a jump to page to which the user is redirected when the opt-in is successful. If you want to bump a property at successful opt-in, set a boolean confirmation field (i.e. to set the field publish to true).

Use the following notification tokens in the opt-in notification:

Token Description
##optin_token## To be replaced with the opt-in token
##optin_url## To be replaced with the absolute opt-in url
##email## Same as ##form_email##, but guaranteed to be in a valid email address format. Intended use as recipient email address.

Export

Active "Allow export" in the submission archive settings to enable CSV export of submissions. Afterwards you will find an "Export" button in the submission list view.

export_operation.png

Development

Fields on tl_submission

Take a look at dca/tl_submission.php for all available fields.

Adjust the dca to your needs.

Mark fields as noSubmissionField to make them unavailable for use as submission fields.

$dca = &$GLOBALS['TL_DCA']['tl_submission'];

$dca['fields']['my_field']['eval']['noSubmissionField'] = true;

Events

Event Description
SubmissionsBeforeSendConfirmationNotificationEvent Dispatched before success notification is sent. Requires enabled double opt-in.

heimrichhannot/contao-submissions 适用场景与选型建议

heimrichhannot/contao-submissions 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9.84k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2016 年 05 月 26 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「form」 「module」 「developer」 「contao」 「submissions」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 heimrichhannot/contao-submissions 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 heimrichhannot/contao-submissions 我们能提供哪些服务?
定制开发 / 二次开发

基于 heimrichhannot/contao-submissions 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2016-05-26