undkonsorten/powermail-subscription

Finisher for a newsletter signup within a powermail form.

Maintainers

Package info

github.com/undkonsorten/powermail_subscription

Homepage

Issues

Type:typo3-cms-extension

pkg:composer/undkonsorten/powermail-subscription

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

1.0.0 2026-04-14 07:35 UTC

This package is not auto-updated.

Last update: 2026-04-15 06:00:43 UTC


README

Extend powermail forms with a checkbox for a newsletter subscription.

Usage

  • Install the extension
  • Add following code to your site packages Services.yaml to 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.