Problem/Motivation
Educare applies the Easy Email Express recipe. Easy Email Theme then takes the email logo from the default theme, Educare Theme - Bootstrap 5, whose logo is logo.svg. Many email clients cannot show SVG, including Outlook for Windows and Gmail webmail, so those readers get an email with no logo. Varbase Starter fixed the same problem in #3637289.
Easy Email Theme is a hidden theme, so there is no settings form to change the email logo, and easy_email_theme.settings does not exist on a fresh install.
Steps to reproduce
- Install Varbase 11.0.x-dev with Educare 1.0.x-dev.
- Send an HTML email, for example a password reset.
- The logo is an SVG image. It does not show in Outlook for Windows or Gmail webmail.
ddev drush config:get easy_email_theme.settingsreports that the config does not exist.
Proposed resolution
Ship config/easy_email_theme.settings.yml in the recipe with logo.use_default: false and logo.path: themes/contrib/vartheme_bs5_educare/logo-email.png, the PNG added in #3637900.
It is a config file, not a simpleConfigUpdate action in recipe.yml like the Gin, Gin Login and Navigation logos: those configs exist when the action runs, but easy_email_theme.settings does not, and simpleConfigUpdate cannot create missing config. Recipes only create config that does not exist yet, so sites that already set an email logo keep it. Same as Varbase Starter in #3637289.
Depends on #3637900 being released first. Until then the path points at a missing file and emails show no logo, as today.
Remaining tasks
- ✅ File an issue
- ❌ Addition/Change/Update/Fix
- ❌ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support
- ➖ User Guide Documentation support
- ➖ UX/UI designer responsibilities
- ❌ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ✅ Update Release Notes
- ✅ Release educare-1.0.10
User interface changes
- The logo shows in HTML emails in clients that cannot render SVG.
API changes
- N/A
Data model changes
- Adds
easy_email_theme.settingsconfig to the recipe.
Release notes snippet
- HTML emails now use a PNG logo that shows in Outlook and Gmail.
AI-Generated: Yes
Issue fork educare-3637903
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajab natshahComment #5
rajab natshah✅ Released in educare 1.0.10