I'm giving CMSUsers a try for a particular job. I've been asked to convert to CMSMS one of those horrid WordPress sales sites that ask you to enter your name and email address to give you access to a free download.
The FEU/SR/CC combo does not allow for a required feature, ie email verification without entering a password. The only real verification needed is that the email address entered as the username belongs to a real person.
So far I'm impressed with CMSUsers although the doco is minimal.
Can anyone tell me how to customise the email template? I have 2 profile fields, 'First name' and 'Last Name' and the email address is the username, eg:
Username: joe@bloggs.com
First name: Joe
Last name: Bloggs
Instead of the email body saying 'Dear joe@bloggs.com', I would like it say 'Dear Joe'.
Config
CMSMS: 1.11.5
CMSUsers: 1.0.10
CMSForms: 1.0.8
Any pointers to additional documentation for this module would be welcome too.
Thanks
psy
CMSUsers email templates
[solved] Re: CMSUsers email templates
Here's what worked for me in the email verification template:
My custom field name was 'First name'. The module has removed the space between the words. The rest I figured out by working through the module code.
hth
psy
Code: Select all
{assign var='profile' value=$user->retrieveByUsername($user->username)}
{assign var='fields' value=$profile->getAsArray()}
<p>Dear {$fields.Firstname}<p>
hth
psy

