Joomla 2.5.14 新用户详细信息
我全新安装了 Joomla 2.5.14,我正在尝试更改管理员添加新用户时发送的消息.
I have a fresh install of Joomla 2.5.14 and I'm trying to change the message that gets sent out when then administrator adds a new user.
我查看了管理员/语言/en-GB/en-GB.com_users.ini,但看不到在哪里进行更改.我还使用语言覆盖扩展来查看它们是否是我没有看到的东西.
I've looked in the administrator/language/en-GB/en-GB.com_users.ini but don't see where to make the change. I also use the Language Override extension to see if their was something I just wasn't seeing.
这是正在发送的电子邮件的文本.只需要稍微改变一下.有人有解决办法吗?
This is the text of the email that is being sent out. Just need to change it a little. Anyone got a solution?
Subject: New User Details
Date: 10/08/2013 10:19 pm
From: Vote for ****** <d******@i********.com>
To: sophie@iensemble.com
Hello D*****,
You have been added as a User to Vote for ****** by an Administrator.
This email contains your username and password to log in to http:/b*******.com/
Username: d******
Password: p*******
Please do not respond to this message as it is automatically generated and is for information purposes only.
推荐答案
我不建议编辑核心语言文件,因为它们可能会被任何未来的更新(例如即将推出的更新)覆盖.
I don't recommend editing the core language files as the could be overwritten by any future updates (like the one coming down the track).
您可以使用语言管理器覆盖来覆盖语言字符串,您只需要在语言覆盖管理器的正确部分、前端或站点"、后端或管理员"中即可.
You can override the language string using the Language Manager overrides you just have to be in the right section, front-end or "Site", backend or "Administrator" of the Language Override Manager.
如果您找不到常量 PLG_USER_JOOMLA_NEW_USER_EMAIL_BODY
,那可能是因为您在 Site" 视图中,而该字符串属于 <强>管理员视图.要更改视图,请使用语言覆盖过滤器栏右侧角的弹出菜单:
If you can't find the constant PLG_USER_JOOMLA_NEW_USER_EMAIL_BODY
it's probably because you were in the Site" view while that string belongs to the Administrator view. To change views use the pop-up menu in the right side corner of the Language Overrides filter bar:
然后选择要创建/搜索覆盖的区域.
and select the area you want to create/search for an override.
请注意,您必须在点击工具栏中的新建按钮之前执行此操作.
Note you have to do this before clicking on the New button in the Toolbar.
相关文章