Hi!
I'm trying to change the registration e-mail of virtuemart to include images.
The e-mail is in \administrator\components\com_virtuemart\languages\common\english.php
'USEND_MSG_ACTIVATE' => 'Hello %s,
Thank you for registering at %s. Your account is created and must be activated before you can use it.
To activate the account click on the following link or copy-paste it in your browser:
%s
After activation you may login to %s using the following username and password:
Username - %s
Password - %s',
- 'USEND_MSG_ACTIVATE' => 'Hello %s,
-
- Thank you for registering at %s. Your account is created and must be activated before you can use it.
- To activate the account click on the following link or copy-paste it in your browser:
- %s
-
- After activation you may login to %s using the following username and password:
-
- Username - %s
- Password - %s',
This is what i've changed to:
'USEND_MSG_ACTIVATE' => '?>
<div><img src="www.mydomain.com/templates/mytemplate/images/error.png"></div><?php
Hello %s,
Thank you for registering at %s. Your account is created and must be activated before you can use it.
To activate the account click on the following link or copy-paste it in your browser:
%s
After activation you may login to %s using the following username and password:
Username - %s
Password - %s',
- 'USEND_MSG_ACTIVATE' => '?>
- <div><img src="www.mydomain.com/templates/mytemplate/images/error.png"></div><?php
- Hello %s,
-
- Thank you for registering at %s. Your account is created and must be activated before you can use it.
- To activate the account click on the following link or copy-paste it in your browser:
- %s
-
- After activation you may login to %s using the following username and password:
-
- Username - %s
- Password - %s',
This is the e-mail i receive:
?><div><img src="www.mydomain.com/templates/mytemplate/images/error.png"></div><?php
Hello Pedro Migu,
Thank you for registering at start. Your account is created and must be activated before you can use it.
To activate the account click on the following link or copy-paste it in your browser:
...
...
- ?><div><img src="www.mydomain.com/templates/mytemplate/images/error.png"></div><?php
- Hello Pedro Migu,
-
- Thank you for registering at start. Your account is created and must be activated before you can use it.
- To activate the account click on the following link or copy-paste it in your browser:
- ...
- ...
Also tried this way:
'USEND_MSG_ACTIVATE' => '<div><img src="www.mydomain.com/templates/mytemplate/images/error.png"></div>
Hello %s,
Thank you for registering at %s. Your account is created and must be activated before you can use it.
To activate the account click on the following link or copy-paste it in your browser:
%s
After activation you may login to %s using the following username and password:
Username - %s
Password - %s',
- 'USEND_MSG_ACTIVATE' => '<div><img src="www.mydomain.com/templates/mytemplate/images/error.png"></div>
- Hello %s,
-
- Thank you for registering at %s. Your account is created and must be activated before you can use it.
- To activate the account click on the following link or copy-paste it in your browser:
- %s
-
- After activation you may login to %s using the following username and password:
-
- Username - %s
- Password - %s',
And nothing!
He reads it as plain text, how can i "say" to read it as html so that he can output it correctly?
Thanks
Peter