I'd like to add some HTML to the emails that get sent during the user sign-up process. I am familiar with language overrides and I am currently using them to customize the emails. But, I'd like to take it a step further and format them with HTML.
I tested with one of the emails, but it didn't interpret the HTML and just sent it as plain text with all of the tags, etc.
Is there a way add HTML into overrides? Or perhaps another way to accomplish what I'm trying to do?
HTML in language override
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Oct 02, 2013 5:15 pm
- Location: Cincinnati, Ohio
- Contact:
- mjparadac
- Joomla! Hero
- Posts: 2488
- Joined: Mon Oct 29, 2012 3:58 pm
Re: HTML in language override
Hello econveyors
Have you thought about Joomla 4?
https://magazine.joomla.org/all-issues/ ... templating
Joomla 4 allows you to do what you want
https://docs.joomla.org/Help4.x:Mail_Templates
https://docs.joomla.org/Help4.x:Mail_Template:_Edit
https://docs.joomla.org/Help4.x:Mail_Templates:_Options
Regards,
Have you thought about Joomla 4?
https://magazine.joomla.org/all-issues/ ... templating
Joomla 4 allows you to do what you want
https://docs.joomla.org/Help4.x:Mail_Templates
https://docs.joomla.org/Help4.x:Mail_Template:_Edit
https://docs.joomla.org/Help4.x:Mail_Templates:_Options
Regards,
Joomla Community Ambassador for A2 Hosting | A2 Hosting - Our speed, your success | https://www.a2hosting.com/joomla-hosting
- AMurray
- Joomla! Exemplar
- Posts: 9747
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: HTML in language override
Adding to @mjparadac reply,
It's not as simple as adding a few HTML tags to the language strings. You need to use an email template in the Joomla CMS.
In J4 you'd simply create custom email templates:
https://magazine.joomla.org/all-issues/ ... templating
In J3 I think there's a handful of email template extensions:
https://extensions.joomla.org/extension ... tml-email/
https://extensions.joomla.org/extension ... eautifier/
https://extensions.joomla.org/extension ... g-starter/ (not sure if ACY Starter has the capability to create email templates for the system emails such as registration, activation etc., or if that's in the Pro edition).
The other way is you would have to write a plugin, to override the email template.
This also briefly discusses the issue:
https://stackoverflow.com/questions/453 ... l-template
But from your question it sounds like your aim is not to make *every* email an HTML email but one specific change in the Registration email, or do you intended to apply such styling (HTML templates) to all the Joomla system emails - which would make the above investments (paid extensions) more worthwhile.
It's not as simple as adding a few HTML tags to the language strings. You need to use an email template in the Joomla CMS.
In J4 you'd simply create custom email templates:
https://magazine.joomla.org/all-issues/ ... templating
In J3 I think there's a handful of email template extensions:
https://extensions.joomla.org/extension ... tml-email/
https://extensions.joomla.org/extension ... eautifier/
https://extensions.joomla.org/extension ... g-starter/ (not sure if ACY Starter has the capability to create email templates for the system emails such as registration, activation etc., or if that's in the Pro edition).
The other way is you would have to write a plugin, to override the email template.
This also briefly discusses the issue:
https://stackoverflow.com/questions/453 ... l-template
But from your question it sounds like your aim is not to make *every* email an HTML email but one specific change in the Registration email, or do you intended to apply such styling (HTML templates) to all the Joomla system emails - which would make the above investments (paid extensions) more worthwhile.
Last edited by AMurray on Thu Mar 24, 2022 10:01 pm, edited 1 time in total.
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Oct 02, 2013 5:15 pm
- Location: Cincinnati, Ohio
- Contact:
Re: HTML in language override
Thank you both for the response. I understand there are email template options available in Joomla 4. But, unfortunately, we're not ready to upgrade to 4 just yet. I will check out those links, A Murray. Thanks again.
- Webdongle
- Joomla! Master
- Posts: 44099
- Joined: Sat Apr 05, 2008 9:58 pm
Re: HTML in language override
Just tested created override for 'Action Log - Joomla' in the Action Log - Joomla Plugin
For emails you may need to escape double quotes https://docs.joomla.org/J3.x:Making_a_L ... _ini_files
For emails you may need to escape double quotes https://docs.joomla.org/J3.x:Making_a_L ... _ini_files
You do not have the required permissions to view the files attached to this post.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- brian
- Joomla! Master
- Posts: 12787
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: HTML in language override
@webdongle if you test it for emails which is the users actual question you will see that it is much more than just putting html in the text.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/