I've done an hours worth of searching through the forums and several hours worth of meddling with my code in the language file create_account.php and the create_account.php in modules (both under my templates folder heirarchy as per the override system) and can't seem to get the user's email address to show up in their welcome email.
I've added a definition to the create_account language file:I then use this to try calling that constant within my body text:PHP Code:define('CUSTOMER_EMAIL_ADDRESS', $email_address);
In the create_account module file I added this around line 326PHP Code:define('EMAIL_TEXT', '<div class="content-heading">Membership Information </div>' . "\n" . ' <li><strong>Username:</strong>' . CUSTOMER_EMAIL_ADDRESS . "\n" .
Thinking it would pass the e-mail address variable on.PHP Code:$_SESSION['customers_email_address'] = $email_address;
Admittedly, I'm a beginner at PHP and am just getting my bearings.
Anyone have any idea what I'm doing wrong and/or how I can get this to work?
And yes, I realize that it is a bit redundant to include someone's email address in an email being sent TO that address, but seeing as it IS their user name and people often have different addresses (and most importantly, to pander to even the dumbest customers) I need to have this. Thanks.




