【问题标题】:TYPO3 direct_mail_subscription with fe_userTYPO3 direct_mail_subscription 与 fe_user
【发布时间】:2016-11-10 19:40:46
【问题描述】:

只是一个简单的问题:有谁知道 direct_mail_subscription 是否适用于 fe_users 或仅适用于 tt_address 记录?我将两者都用于我的时事通讯收件人,但取消订阅链接仅适用于 tt_address 用户。我是否忘记配置某些内容,或者它无法与 fe_users 一起使用?

【问题讨论】:

  • 这取决于你需要什么?如果您想给已注册用户订阅的机会,这是一种解决方案。如果每次订阅都需要创建新用户,则有一些不同)

标签: typo3 typo3-6.2.x


【解决方案1】:

1) 使用订阅创建新用户的最简单方法是 formhandler 中的 Finisher - 这里可以使用 EXT https://typo3.org/extensions/repository/view/formhandler_subscription 或者这里是主要设置 https://github.com/astehlik/typo3-extension-formhandler_subscription/blob/master/Configuration/Settings/setup.txt

2) 通过 PowerMail 创建表单并添加 Finisher 以保存 fe_user 和 direct_mail 设置这里是手动 https://docs.typo3.org/typo3cms/extensions/powermail/1.6.11/Powermail/Features/SavingDbValuesToAnyDbTable/Index.html#example-typoscript-setup-to-add-values-to-fe-users。您只需添加邮寄所需的 direct_mail 字段

3) 您可以覆盖常规 EXT。我找到了最好的https://typo3.org/extensions/repository/view/dmailsubscribe。但就像每个好的 EXT 一样,它只适用于 tt_addres。但是,如果您知道如何 - 您可以覆盖 Class instand 添加 tt_adreess add fe_user by FrontendUser\FrontendUserRepository 如果这个答案会得到 5 个赞 - 我会举个例子:)

【讨论】:

    猜你喜欢
    • 2023-03-17
    • 2015-02-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-11
    • 1970-01-01
    相关资源
    最近更新 更多