Feature Language Change Updates Requested PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar webgras
webgras
22 Feb 2025

Pull Request for Issue #44968 .

Summary of Changes

Added fields to the E-Mail Template Options to configure colors and fonts for the emails.
The colors were hardcoded colors to the mailtemplate. Now you can configure them in the backend.

Testing Instructions

Go to System - Mail Templates and click "Options"
Change the Mail format to "HTML" or "Both"
Below the Logo file field you can configure now the font-family for the emails and the colors for background, text and links.

Actual result BEFORE applying this Pull Request

You could not configure the emails.

Expected result AFTER applying this Pull Request

In the fields you can add colors for you email templates
The default values are the same values as coded to the email template before.
grafik

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar webgras webgras - open - 22 Feb 2025
avatar webgras webgras - change - 22 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Feb 2025
Category Administration Language & Strings Layout Libraries
avatar webgras
webgras - comment - 22 Feb 2025

I will add documentation later

avatar brianteeman
brianteeman - comment - 22 Feb 2025
avatar softforge
softforge - comment - 22 Feb 2025

I thought 5,3 was in feature freeze now https://developer.joomla.org/news/959-joomla-5-3-0-beta-1-feature-freeze.html

It is, can be moved to 6.0

avatar webgras webgras - change - 23 Feb 2025
Labels Added: Feature Language Change Updates Requested PR-5.3-dev
avatar webgras webgras - change - 23 Feb 2025
The description was changed
avatar webgras webgras - edited - 23 Feb 2025
avatar webgras webgras - change - 24 Feb 2025
Title
[5.3] Add Mail Template Styles
[6.0] Add Mail Template Styles
avatar webgras webgras - edited - 24 Feb 2025
avatar webgras webgras - change - 24 Feb 2025
Title
[6.0] Add Mail Template Styles
[5.3] Add Mail Template Styles
avatar webgras webgras - edited - 24 Feb 2025
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2025
Category Administration Language & Strings Layout Libraries Administration com_banners Language & Strings Installation
avatar bembelimen
bembelimen - comment - 1 Mar 2025

Hello,
to be honest, I don't think that we should add more parameters to the configuration for something which can be easily solved via an override. Especially as the way we're looking into is to get rid of parameters in the future. So adding more should be very thought through.
Beside that we now have a hard dependency from a layout to a component, which we in general should avoid.

Also it opens a door we should not go through: when we have colours and font family as parameter, why not the padding, too (in best case for each segment individual)? Why not the sizing? Etc. There are so many combination which could be configurable but are not paid attention to, you still have to do an override to adjust them. (which you should anyways).

avatar webgras
webgras - comment - 1 Mar 2025

But then we need to remove the dark blue in the heading and in the footer. Because for most of the client websites, the colour just does not fit. And now I need to create overrides for all clients, because clients started to complain.
Another reason why I created this was that in outlook the background colour did not work. so the email background was all white. But that is solved with #44985 already.

We discussed this at the PBF to just add one colour field for the footer. But then we realised that the colour is used for the H1 as well. And when you change the background colour, you need to change the font colour too.
That is why we ended up with all the fields.

What would be your suggestions for changing the blue?
I think you should be able to adjust the brand colour here, without override

avatar bembelimen
bembelimen - comment - 1 Mar 2025

What would be your suggestions for changing the blue?

Just improve the layout itself with 6.0? Make it more neutral for example.

avatar fgsw
fgsw - comment - 1 Mar 2025

easily solved via an override.

@bembelimen True … if the user have developer skills.

As long as overrides missing a User Interface non-developer users needs solutions like @webgras provide.

avatar brianteeman
brianteeman - comment - 1 Mar 2025

Site templates don't have a UI for overrides

Add a Comment

Login with GitHub to post a comment