Customizing the email tags

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

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Post Reply
User avatar
sakiss
Joomla! Explorer
Joomla! Explorer
Posts: 282
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: 282
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


Post Reply

Return to “Joomla! 4.x Coding”