0

默认情况下,joomla 3.0 在电子邮件中发送激活码,是否可以通过链接而不是复制和粘贴此代码来进行配置?

4

2 回答 2

0

Nibra 是正确的,但要避免创建可能格式错误的语言文件。我强烈建议使用自 1.6 版本以来可用的内置语言覆盖。

选择Extensions>>Language Manager>>Overrides然后单击新建按钮。

在该屏幕中,您可以搜索要更改的文本“感谢您注册”或语言标记,例如:

  • COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY
  • COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY_NOPW

语言覆盖机制最好的一点是,当 3.1 或任何更高版本发布时,您可以安全地升级,而不必担心您所做的更改会被任何更新覆盖。

于 2013-03-29T03:38:46.623 回答
0

该链接应该可以被电子邮件客户端点击。如果不是,则链接可能缺少前导“http://”。

您可以编辑语言文件 language/en-GB/en-GB.com_users.ini

COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY="Hello %s,\n\nThank you for registering at %s. Your account is created and must be activated before you can use it.\nTo activate the account click on the following link or copy-paste it in your browser:\nhttp://%s \n\nAfter activation you may login to %s using the following username and password:\n\nUsername: %s\nPassword: %s"
COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY_NOPW="Hello %s,\n\nThank you for registering at %s. Your account is created and must be activated before you can use it.\nTo activate the account click on the following link or copy-paste it in your browser:\nhttp://%s \n\nAfter activation you may login to %s using the following username and the password you entered during registration:\n\nUsername: %s"

或者 - 更好 - 将这些行放入覆盖文件(语言/覆盖/en-GB.override.ini)。

于 2013-03-28T17:19:07.347 回答