[英]How do you save data to database using EXT: Form in TYPO3 8.7.1?
I need to create a contact form to allow users to send emails. 我需要创建一个联系表,以允许用户发送电子邮件。 Data must be saved in the database and notification send to the user.
数据必须保存在数据库中,并且通知会发送给用户。 So far, I've been using EXT: Powermail, which works fine.
到目前为止,我一直在使用EXT:Powermail,它工作正常。 In current project I'm using TYPO3 8.7.1 and I'd like to use EXT: Form 8.7.0.
在当前项目中,我正在使用TYPO3 8.7.1,并且我想使用EXT:Form 8.7.0。 I've a test installation based on Introduction Package.
我有一个基于Introduction Package的测试安装。 I'm using predefined "Contact Form", but in the edition mode, I can't select finisher "Save to database".
我使用的是预定义的“联系表格”,但是在编辑模式下,无法选择修整器“保存到数据库”。 The only finishers I can see are: email to sender, redirect to a page, delete uploads.
我只能看到的整理者是:发给发件人的电子邮件,重定向到页面,删除上传的内容。
I've been searching for some tips in a documentation, but couldn't find that. 我一直在寻找文档中的一些技巧,但找不到。
There is a SaveToDatabase-Finisher in the new Form Framework, but as far as I know you can only use it programmatically via YAML or API. 新的Form Framework中有一个SaveToDatabase-Finisher,但据我所知,您只能通过YAML或API以编程方式使用它。
Here is the link to the corresponding doc: https://docs.typo3.org/typo3cms/drafts/code.tritum.de/TYPO3.CMS/Form_Documentation/ApiReference/Index.html#savetodatabase-finisher 这是相应文档的链接: https : //docs.typo3.org/typo3cms/drafts/code.tritum.de/TYPO3.CMS/Form_Documentation/ApiReference/Index.html#savetodatabase-finisher
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.