Customizing the email tags

For Joomla! 4.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, 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.
Locked
User avatar
sakiss
Joomla! Explorer
Joomla! Explorer
Posts: 349
Joined: Wed Aug 20, 2008 4:09 pm

Customizing the email tags

Post by sakiss » Thu Oct 21, 2021 1:18 pm

Hi

I would like to set some styling to the email tags. E.g. display the user activation link as a button.

Does anyone know if this can done without core hacks?

User avatar
sakiss
Joomla! Explorer
Joomla! Explorer
Posts: 349
Joined: Wed Aug 20, 2008 4:09 pm

Re: Customizing the email tags

Post by sakiss » Thu Oct 21, 2021 2:33 pm

Update:
Seems like the mail tags just inject plain text, in the mail body.
So can be done by something like that:

Code: Select all

<a href="{ACTIVATE}" class="some-btn">Activate</a>
If you intent to change the inner value of the tags, this can be done by creating a plugin that listens to the event 'onMailBeforeRendering'.
https://github.com/joomla/joomla-cms/bl ... e.php#L224


Locked

Return to “Joomla! 4.x Coding”