ive been through the doc files and see how it works but where is the actuall text located?
create_account.php?
ive been through the doc files and see how it works but where is the actuall text located?
create_account.php?
yep thats where it is...
languages/english/create_account.php
The developpers tool kit is your best friend for seeking words you are unable to track / find.
From your admin section, go to: Tools - > Developpers Tool Kit and type on the first textbox: "Welcome message". Then, on your right, make sure to switch from ' none ' to ' store '.
Hi,
I'm trying to change the greeting to say Dear Firstname.
This is the first time I dwell into this and I am not a php expert :) so I need a little help.
original define
define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");
Is this the correct way to apply the change I am looking for?
define('EMAIL_GREET_MR', Dear $EMAIL_FIRST_NAME,' . "\n\n");
Thanks
It is doubtful this variable is being tracked from the language definition file you edited. Which is why, the '%s' was being used instead.
define('EMAIL_GREET_MR', Dear $EMAIL_FIRST_NAME,' . "\n\n");
that was the create_account.php language file I was trying to edit.
So where would I need to make this change?
*pulls hair
In your includes/modules/create_account.php file,
find:
replace with:
$email_text = sprintf(EMAIL_GREET_MR, $lastname);
} else {
$email_text = sprintf(EMAIL_GREET_MS, $lastname);
and replace the original definition from your language file you edited earlier.Code:$email_text = sprintf(EMAIL_GREET_MR, $firstname); } else { $email_text = sprintf(EMAIL_GREET_MS, $firstname);
This should definitely resolve the issue.
thanks so much!
is there a list of different variables that can be used in e-mails?
$firstname
$lastname
etc
etc
i guess i can just use that module to look up other variables
You can also use the create_account.php (def language file) to see all the definition names and use the Developpers tool Kit, under the admin section -> tools menu, to see where these definitions are coming from the source.
i guess i can just use that module to look up other variables
Bookmarks