afm/registeraddress
Composer 安装命令:
composer require afm/registeraddress
包简介
Register to tt_address package
README 文档
README
Description:
newsletter registration extension to tt_address made in Extbase + Fluid for Typo3. Similar to direct_mail_subscription except based on Extbase.
Features:
- double opt-in
- user can edit its own data
- unsubscribing
Installation:
-
Have tt_address and for example direct mail installed and ready
-
Install registeraddress extension like all others.
-
Use the update script in the Extension-Manager of registeraddress to add a generated hash to all already existing tt_address entries.
The update script is not shown when no entries with a missing hash are found.
Setup:
- Include the Static template "registerttaddress (registeraddress)" in the root-template.
- Create new Page for the Newsletter Registration form and add the Plug-In "Registration Form" on it.
- Configure the values in the Constant-Editor of the root-page.
- Set "Default storage PID" to the Page-ID where the tt_address entries will be saved.
- Set "Page id with form" to the previously created page with the form.
- Set "Mail address from which mails are send" to the mail-address from which address the mails are send + the other settings for send mails.
- Set "format of send e-mails (txt, html or both)" to the format the send mails should have.
if a newsletter registration form is needed on all pages, you need to have the following configuration in your TypoScript:
plugin.tx_registeraddress {
mvc.callDefaultActionIfActionCantBeResolved = 1
}
# then create an user object for the footer form
lib.footernewsletter = USER
lib.footernewsletter {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = Registeraddress
pluginName = RegisterformRedirect
vendorName = AFM
controller = Address
action = new
switchableControllerActions {
Address {
1 = new
}
}
view < plugin.tx_registeraddress.view
view {
layoutRootPaths {
100 = EXT:sitebootstrap/Resources/Private/Layouts/Registeraddress/
}
partialRootPath {
100 = EXT:sitebootstrap/Resources/Private/Partials/Registeraddress/
}
templateRootPaths {
100 = EXT:sitebootstrap/Resources/Private/Templates/Registeraddress/
}
}
persistence < plugin.tx_registeraddress.persistence
settings < plugin.tx_registeraddress.settings
settings {
mainformpageuid = 34
}
}
for setting your own translations:
plugin.tx_registeraddress {
_LOCAL_LANG.de {
form.new.title = NEWSLETTER
form.create.approvetext (
Vielen Dank für Ihren Anmeldung.<br />
Bitte bestätigen Sie die Newsletter-Anmeldung in der soeben an Sie versendeten E-Mail.
)
form.create.alreadyexists (
Vielen Dank.<br />
Sie sind bereits für unseren Newsletter angemeldet.
)
mail.info.subjectsuffix = NEWSLETTER
mail.registration.subjectsuffix = Newsletter-Registrierung
mail.unsubscribe.subjectsuffix = Abmeldung
mail.deletesuccess.subjectsuffix = Abmeldung abgeschlossen
mail.approvesuccess.subjectsuffix = Anmeldung erfolgreich
}
}
To add unsubscribe link to direct_mail:
add registeraddresshash to field basic.addRecipFields of direct_mail in extension manager in settings of direct_mail
After that a link can be created with TypoScript:
typolink.parameter = 123
typolink.additionalParams = &tx_registeraddress_registerform[hash]=###USER_registeraddresshash###&tx_registeraddress_registerform[action]=delete&tx_registeraddress_registerform[controller]=Address
DSGVO / GDPR
In version 1.0.13 you can add a consent message to the plugin. Additionally for logging when someone subscribed / unsubscribed you should use the Extension registeraddress_logger
composer require undkonsorten/registeraddress-logger ^1.0
Usage with other extensions than tt_address:
An example extension that connects registeraddress with fe_users can be found here https://github.com/lsascha/feusers_for_registeraddress
afm/registeraddress 适用场景与选型建议
afm/registeraddress 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.66k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2016 年 12 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 afm/registeraddress 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 afm/registeraddress 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 15
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-12-21