简体   繁体   English

Joomla:向用户激活电子邮件正文中添加其他字段

[英]Joomla: Add extra fields to user activation email body

I am developing a joomla site, and upon registration joomla sends an email to user with an activation link. 我正在开发一个joomla网站,注册后joomla会向用户发送一封带有激活链接的电子邮件。 I want to change the content of that email. 我想更改该电子邮件的内容。 I have successfully created a language override for the email, but I also added some extra fields in the email. 我已经为电子邮件成功创建了语言替代,但是我还在电子邮件中添加了一些其他字段。 I was wondering ow to map those fields values in the email. 我想知道是否可以在电子邮件中映射这些字段值。 I have changed the user plugin file and the user model in the com_user component, but nothing works. 我已经在com_user组件中更改了用户插件文件和用户模型,但是没有任何效果。 Can anyone tell me where to change that. 谁能告诉我在哪里进行更改。 It would be greatly appreciated. 这将不胜感激。

在405/507行的components / com_users / models / registration.php中,这些行是您需要更改的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM