Best practice forum (Archived)

Updating new learner email

 
Fiona Cashmore
Updating new learner email
by Fiona Cashmore - Sunday, 2 February 2014, 7:22 PM
 

Hi, We are on 2.4 and are looking to update the automated 'new account' email that goes out to new learners when they are added into the LMS. For us this email goes out the night our people management system updates the LMS with new starters and we need to update the text.

Does anyone know how to do this?

Thanks

Fiona

Peter Bulmer
Re: Updating new learner email
by Peter Bulmer - Sunday, 2 February 2014, 8:21 PM
Group Partners

Hi Fiona,

I just ran through this myself, it's a long path, but not too many twists:

Log in to your totara, and find the adminstration block,

expand 'language' option, and click 'language customisation'

In the dropdown box choose the language you want to edit,

Then on the page that loads click "Open language pack for editing"

(wait)

....

Click continue.

On the page that loads you need to enter some settings to find the 'language string' that you wish to change.

For your case in the components box you want to select "moodle.php" under core, although you can select multiple if you don't know where you need to look. Put "new account" in the option 'Only strings containing' option.

Click "Show strings"

A collection of strings will come up showing what the standard text is, and the value you have now.  Find the one which relates to the emails that get sent out, and hopefully you can see what you want to change. Where you see "{$a->firstname}" that's a placeholder that totara will substitute with the user's name before it's sent out. If firstname is used in the standard string, then it's safe to use it in your custom string, but if you want to use something that isn't in the standard string it's worth testing to make sure it's available before trying to use it on your prod site.

 

Hope that helps.

Peter

Ciaran Irvine (Core Developer)
Re: Updating new learner email
by Ciaran Irvine (Core Developer) - Sunday, 2 February 2014, 8:47 PM
 

Thanks for that Peter,

Yes the main strings that you can do a local customisation on when emails are sent to users are in the moodle component,

newusernewpasswordsubj

newusernewpasswordtext

emailconfirmation

emailpasswordconfirmation

emailpasswordchangeinfo

Would be the main ones involving new users and password change requests.

Fiona Cashmore
Re: Updating new learner email
by Fiona Cashmore - Monday, 3 February 2014, 7:56 PM
 

Thanks Peter and Ciaran. Very much appreciated. Exactly what I was looking for.

Cheers

Fiona