首页 > 解决方案 > TYPO3 direct_mail_subscription Double-Opt-In-Out 未激活

问题描述

我正在使用扩展 direct_mail 和 direct_mail_subscription 进行时事通讯。在设置中很明显我应该首先确认地址,所以地址应该在数据库中隐藏。

// Create setup
create = 1
create {
    userFunc_afterSave = EXT:direct_mail_subscription/pi/class.dmailsubscribe.php:user_dmailsubscribe->saveRecord
    preview = 0
    // add captcha, if you use captcha
    fields = gender, name, hidden, email, module_sys_dmail_category, module_sys_dmail_html
    required = gender, name, email

    noSpecialLoginForm = 1
    # Initially hide the user until he approves!
    overrideValues.hidden = 1
    evalValues.email = uniqueLocal, email
}

所以隐藏在数据库中的字段应该以1开头,但是,所有数据都设置为0而不确认地址。

Typo3 版本 8.7.2。应该是什么原因?你有想法吗?

标签: emailtypo3typoscriptnewsletter

解决方案


确保您已将静态 TypoScript 模板包含在您自己的 TypoScript 模板中:

在此处输入图像描述

您可以验证它是否包含在 TypoScript 对象浏览器中:

在此处输入图像描述


推荐阅读