terminal42/contao-leads 问题修复 & 功能扩展

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

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

terminal42/contao-leads

Composer 安装命令:

composer require terminal42/contao-leads

包简介

Leads extension for Contao Open Source CMS; Store and manage form data with ease!

README 文档

README

terminal42/contao-leads is an extension for the Contao CMS.

It allows you to store submissions from the Contao form generator into the database without the need to create tables for each form. Leads can then be viewed in the back end as well as exported into various formats (e.g. CSV or Excel).

If multiple identical forms exist (e.g. in different languages), lead data can be grouped by the main form (e.g. your fallback language). This allows to view and export data as if it was just one form.

Installation

Choose the installation method that matches your workflow!

Installation via Contao Manager

Search for terminal42/contao-leads in the Contao Manager and add it to your installation. Finally, update the packages.

Manual installation

Add a composer dependency for this bundle. Therefore, change in the project root and run the following:

composer require terminal42/contao-leads

Depending on your environment, the command can differ, i.e. starting with php composer.phar … if you do not have composer installed globally.

Configuration

Initial configuration can be done in the form generator of Contao. Do not forget to activate the fields you want to save! In the form configuration, you can set a label for the back end menu link of your leads and define the listing of the form data using simple tokens.

To configure exports, first make sure you have at least one form submission. A global operation to configure exports is then available when viewing the lead data.

Permissions

For users that are not admins of the system, permissions need to be set up to access leads. Enable access to the leads back end module and select the forms of which lead data should be available. If the user does not need to configure the form itself, you don't need to give access to the form generator!

You can additionally configure if a user is allowed to edit or delete existing leads.

Simple Tokens

Contao Simple Tokens are used to generate the back end list and as well as for customized exports. All saved form fields are available by their field name. For example, if you created a text field with name firstname, you can output its value in the back end list or the export using the ##firstname## simple token.

Additionally, the following simple tokens are providing data of the lead itself, rather than the data submitted through the form generator.

##_id##
Database ID of the lead record.
##_created##
Date and time when the lead was saved (when the form was submitted).
##_form
Database ID (and title) of the form that was submitted.
##_member##
ID of the front end member that was logged in while the form was submitted, or 0 if no member was logged in.

License

This bundle is released under the LGPL 3.0+ license

terminal42/contao-leads 适用场景与选型建议

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

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

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 176.83k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 41
  • 点击次数: 21
  • 依赖项目数: 9
  • 推荐数: 4

GitHub 信息

  • Stars: 35
  • Watchers: 9
  • Forks: 27
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2014-09-09