Advertisement

Changing the text in the email to a new user

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
gofer123
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Mon Aug 30, 2010 5:12 am
Location: Tauranga, New Zealand

Changing the text in the email to a new user

Post by gofer123 » Sun Aug 20, 2017 11:41 pm

Hi all,
Been searching for an answer for this but no luck, I'm trying to add additional text to the email that is automatically generated when the administrator creates a new user/registered. Currently it looks like this;

Hello Joe Bloggs,


You have been added as a User to ACME by an Administrator.

This email contains your username and password to log in to https://www.acme.co.nz/

Username: joe
Password: xyz


Please do not respond to this message as it is automatically generated and is for information purposes only.


Joomla 3.7.3
template protostar
I would also like to have the link go to a particular page rather than the home page.
Thanks in advance
cheers

Advertisement
User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: Changing the text in the email to a new user

Post by ranwilli » Mon Aug 21, 2017 12:14 am

Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

gofer123
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Mon Aug 30, 2010 5:12 am
Location: Tauranga, New Zealand

Re: Changing the text in the email to a new user

Post by gofer123 » Mon Aug 21, 2017 12:18 am

Thanks but I have copied the template, with a unique name

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Changing the text in the email to a new user

Post by sozzled » Mon Aug 21, 2017 12:39 am

Create a language override (Administrator site) for PLG_USER_JOOMLA_NEW_USER_EMAIL_BODY

Change this as you feel is appropriate to your own circumstances.

gofer123
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Mon Aug 30, 2010 5:12 am
Location: Tauranga, New Zealand

Re: Changing the text in the email to a new user

Post by gofer123 » Mon Aug 21, 2017 1:19 am

Thanks for the reply sozzled, "PLG_USER_JOOMLA_NEW_USER_EMAIL_BODY" in which file do I find this?
Cheers

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: Changing the text in the email to a new user

Post by ranwilli » Mon Aug 21, 2017 1:26 am

It's a language override, see (and read) the first link I sent you.
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

gofer123
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Mon Aug 30, 2010 5:12 am
Location: Tauranga, New Zealand

Re: Changing the text in the email to a new user

Post by gofer123 » Mon Aug 21, 2017 2:17 am

Thanks ranwilli, I did read that and I know how to create an override but when I try searching in Languages: Edit Override using any of the text that is used in the current email form (please see above) it comes up with no match?
cheers

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: Changing the text in the email to a new user

Post by ranwilli » Mon Aug 21, 2017 2:34 am

Try a "new" override, search for the plugin name sozzled gave you as "constant"
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

gofer123
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Mon Aug 30, 2010 5:12 am
Location: Tauranga, New Zealand

Re: Changing the text in the email to a new user

Post by gofer123 » Mon Aug 21, 2017 3:51 am

I tried that, still nothing
cheers

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Changing the text in the email to a new user

Post by sozzled » Mon Aug 21, 2017 6:15 am

We'll try to explain this very simply for you.
  1. Go to Extensions » Language(s) » Overrides
  2. Select "English (GB) - Administrator" in the Filter: (left hand side of the page)
  3. Click New on the top of the page; a new page will appear.
  4. Go to the Search the text you want to change area on the right hand side of the page.
  5. Select Search For = Constant. (below the Search button).
  6. Type the following text in the Search text box

    Code: Select all

    PLG_USER_JOOMLA_NEW_USER_EMAIL_BODY
  7. When the existing language constant's value appears in the Search Results, click the returned result to populate the form fields.
  8. Make your changes to the Text and click Save and Close at the top of the page.
  9. Your new language override has been created and saved.
I suspect you skipped step 2.

gofer123
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Mon Aug 30, 2010 5:12 am
Location: Tauranga, New Zealand

Re: Changing the text in the email to a new user

Post by gofer123 » Mon Aug 21, 2017 6:21 am

Many thanks sozzled, I was not selecting the admin option in the overrides, fixed now.
Much appreciated
cheers

Advertisement

Locked

Return to “General Questions/New to Joomla! 3.x”