modify the welcome message for some condition
30 Oct
2009
30 Oct
'09
8:37 p.m.
how can i modify the welcome message for some condition!? thks in advanced!
30 Oct
30 Oct
9:02 p.m.
New subject: modify the welcome message for some condition [hook_mail_alter]
with hook_mail_alter i do this function bmg_mail_alter(&$mailkey, &$to, &$subject, &$body, &$from, &$headers){ if ($mailkey == 'user-register-welcome'){ $body = _user_mail_text('bmg_welcome_body'); } } and the message sent it's the mine, but with empty variables, why? !username, MUCHAS GRACIAS POR SU REGISTRO EN !site. You may now log in to !login_uri using the following username and password: username: !username password: !password the vars are empty, why??
6050
Age (days ago)
6050
Last active (days ago)
1 comments
1 participants
participants (1)
-
Aldo Martinez Selleras