afm / registeraddress
Register to tt_address package
Installs: 3 514
Dependents: 3
Suggesters: 0
Security: 0
Stars: 7
Watchers: 9
Forks: 18
Open Issues: 28
Type:typo3-cms-extension
Requires
- php: ^7.4 || ^8.0
- friendsoftypo3/tt-address: ^5.2 || ^6.1 || ^7.0 || ^8.0
- symfony/console: ^5.4 || ^6.0 || ^7
- typo3/cms-core: ^11.5 || ^12.4
Replaces
- typo3-ter/registeraddress: 6.0.3
- dev-develop
- dev-main / 6.0.x-dev
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.1.1
- 3.0.1
- 2.0.1
- 1.0.x-dev
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- dev-typo3-13
- dev-feature-v4/bounceMail
- dev-typo3-10.4
- dev-check-approvable
- dev-feature/standardized-template-variables
- dev-hotfix/prefix-suffix
- dev-hotfix/composerjson
- dev-feature/t3-6x
- dev-feature/dsgvo
- dev-hash-update
- dev-Unsubscribe-Form
This package is auto-updated.
Last update: 2024-10-04 14:39:41 UTC
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