undkonsorten/powermail-subscription
最新稳定版本:1.0.0
Composer 安装命令:
composer require undkonsorten/powermail-subscription
包简介
Finisher for a newsletter signup within a powermail form.
关键字:
README 文档
README
Extend powermail forms with a checkbox for a newsletter subscription.
Usage
- Install the extension
- Add following code to your site packages
Services.yamlto register the connector.
services: Undkonsorten\PowermailSubscription\Connector\ConnectorInterface: class: 'Undkonsorten\PowermailSubscription\Connector\RegisteraddressConnector'
- Add TypoScript to register the finisher in powermail and configure the needed properties and fieldnames.
plugin.tx_powermail.settings.setup {
finishers {
25 {
class = Undkonsorten\PowermailSubscription\Finisher\SubscriptionFinisher
config {
additionalProperties {
# AddressProperty = fieldname
firstName = firstname
lastName = lastname
}
subscriptionField = newsletter_subscription
consentField = newsletter_consenttext
# save address in pid
pid = 138
}
}
}
}
- Clear the cache
Using another registration extension
If you need another connector, implement the Undkonsorten\PowermailSubscription\Connector\ConnectorInterface
in your own Connector Class and define what you need in the subscribe method.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2026-04-14