-
Notifications
You must be signed in to change notification settings - Fork 76
Clarify global default Preference Center resolves live at unsubscribe time #787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 7.2
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -189,7 +189,7 @@ Now when sending the Email, all recipients can click the Unsubscribe link provid | |
|
|
||
| | | ||
|
|
||
| If you don't select a Preference Center in an Email, Mautic uses the default Preference Center styled with the default Theme. | ||
| If you don't select a Preference Center in an Email, Mautic uses the global default Preference Center set in **Configuration > Email Settings**, resolved at the time a Contact unsubscribes. If you change the global default later, any Email without its own Preference Center, including Emails you've already sent, automatically uses the new default. If there's no valid global default, Mautic falls back to a default Preference Center styled with the default Theme. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Expanded the fallback note because PR #16352 makes the global default a live default: Source: mautic/mautic#16352 |
||
|
|
||
| .. image:: images/unsubscribe.png | ||
| :align: center | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewrote the Default Preference Center Landing Page setting because PR #16352 changes
EmailDefaultsHelperto stop copying the global default onto new Emails (applyPreferenceCenterDefaultwas removed fromapplyDefaults) and instead resolves it at unsubscribe time via the newresolvePreferenceCenter()called fromPublicController::unsubscribeAction. The resolver returns null when the default Page is missing, not a Preference Center, or unpublished, which the new fallback wording reflects.Source: mautic/mautic#16352