I'm currently trying to enhance/streamline the User Registration process on our Joomla website, however I've run into a snag on modifying the User Confirmation email. I have figured out how to change the text (extensions -> language(s) -> overrides) of the email, but not the html of the email. I'm trying to use some basic styling and more strategic placement of the links to make it more abundantly obvious what to do.
Is there any way to do this without installing an extension? My site is getting pretty bloated and I would prefer to not install an extension or plugin.
The text is the HTML of the email. You can have HTML code in that text formatted the way you want. There is no other place where you can actually change the HTML of that email.
Update: Open the
components/com_users/models/registration.php file and add
true at the end of each and every
JFactory::getMailer()->sendMail function call. For example, you should change the following line:
$return = JFactory::getMailer()->sendMail($data['mailfrom'], $data['fromname'], $row->email, $emailSubject, $emailBody);
$return = JFactory::getMailer()->sendMail($data['mailfrom'], $data['fromname'], $row->email, $emailSubject, $emailBody, true);
Note that there are 4 occurrences, so you should change them all. Also note that this is a core modification, so proceed with caution.
If it still doesn't work, then change