jweiland/form-tools
Composer 安装命令:
composer require jweiland/form-tools
包简介
A little collection of tools for TYPO3's EXT:form
关键字:
README 文档
README
Form_tools is an extension for TYPO3 CMS. It collects some tools for the TYPO3 FormFramework.
1 Features
- It contains a form finisher to store all form fields as XML structure in DB
- It contains a form element to set up a GDPR link in your form (works with the form editor)
2 Usage
2.1 Installation
Installation using Composer
The recommended way to install the extension is using Composer.
Run the following command within your Composer based TYPO3 project:
composer require jweiland/form-tools
Installation as extension from TYPO3 Extension Repository (TER)
Download and install form_tools with the extension manager module.
2.2 Minimal setup
- Check if DB table
tx_formtools_requestswas created successfully - Open your TypoScript file or record
- Add:
plugin.tx_form.settings.yamlConfigurations.1234 = EXT:form_tools/Configuration/Form/StoreAsXml.yaml - Now you can use our finisher with identifier:
StoreFieldsAsXmlToDb - Add:
plugin.tx_form.settings.yamlConfigurations.2345 = EXT:form_tools/Configuration/Form/Checkboxlink.yaml - Add:
module.tx_form.settings.yamlConfigurations.2345 = EXT:form_tools/Configuration/Form/Checkboxlink.yaml - Add:
to your SETUP and define a target for the "Data protection notice" link.lib.formLegalUid = TEXT lib.formLegalUid.value = 1 # or e.g.: {$form.legalUid} - Now you can use the form element with type:
Checkboxlink
2.3 Finisher StoreFieldsAsXmlToDb
Copy the finisher to your form YAML file.
-
options:
-
table: tx_formtools_requests
mode: insert
elements:
text-1:
mapOnDatabaseColumn: first_name
name:
mapOnDatabaseColumn: last_name
telefon:
mapOnDatabaseColumn: telephone
strasse:
mapOnDatabaseColumn: address
plzort:
mapOnDatabaseColumn: city
email:
mapOnDatabaseColumn: email
textarea-2:
mapOnDatabaseColumn: message
databaseColumnMappings:
pid:
value: 12107
tstamp:
value: '{__currentTimestamp}'
crdate:
value: '{__currentTimestamp}'
identifier: StoreFieldsAsXmlToDb
- Some fields like
first_nametillmessagealready exist in the Datatbase. You can map your renderables to them. - Set the pid where your mails should be saved (e.g. the same where your plugin resides).
- The database field
xmlwill automaticaly contain all posted data.
3 Support
Free Support is available via GitHub Issue Tracker.
For commercial support, please contact us at support@jweiland.net.
jweiland/form-tools 适用场景与选型建议
jweiland/form-tools 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.03k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 08 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「form」 「tools」 「typo3」 「TYPO3 CMS」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jweiland/form-tools 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jweiland/form-tools 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jweiland/form-tools 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A set of useful PHP classes.
A Laravel package to retrieve data from Google Search Console
Set Links with a specific language parameter
Diese Contao 4 Erweiterung stellt Google reCAPTCHA V2 in Form eines neuen Formularfeldes im Formulargenerator bereit. This extension provides Google reCAPTCHA V2 in the form of a new form field in the form generator of Contao Open Source CMS.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
An interactive tour through the TYPO3 backend.
统计信息
- 总下载量: 3.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-08-25