Skip to content

Document the themeable email-validation.html.twig template - #613

Draft
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/pr-16870-email-validation-theme
Draft

Document the themeable email-validation.html.twig template#613
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/pr-16870-email-validation-theme

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open in Promptless

Mautic 7.x adds an email address validation page to the unsubscribe and resubscribe flow (mautic/mautic PR #16870), rendered by a new core template @MauticCore/Theme/email-validation.html.twig. Theme developers can override its appearance.

This adds a html/email-validation.html.twig subsection to the theme structure guide (docs/themes/getting_started.rst) documenting: that the template is optional (not a required feature file), that it extends message.html.twig through the message_content block, the four overridable Twig blocks (message_content, validation_content, validation_error, validation_enhancements), the theme resolution order Mautic uses to find it, and the blank theme's example override as a starting point. It also cross-references the new template from the html/message.html.twig entry.

Files touched: docs/themes/getting_started.rst.

Trigger Events

Mautic 7.x adds an email address validation page to the unsubscribe and
resubscribe flow (mautic/mautic PR #16870). Document the new optional
html/email-validation.html.twig theme template, its overridable Twig
blocks (message_content, validation_content, validation_error,
validation_enhancements), the theme resolution order, and the blank
theme's example override, in the theme structure guide.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant