如何更改组件名称Joomla [英] HOW TO change component name Joomla
本文介绍了如何更改组件名称Joomla的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从以下位置重命名一个joomla组件:
I'm interested to rename a joomla component from:
index.php?option=com_test&view=
至
index.php?option=com_testest&view=
.
我该怎么办?
推荐答案
我还不知道(到目前为止)执行此操作的自动化解决方案.也许有人这样做.
I don't know (yet) of an automated solution to do this. Maybe somebody else does.
组件的名称出现在各个位置(类,文件和文件夹名称,数据库等).因此,您必须重命名(这可能不是完整的列表)
The name of the component occurs in various places (class, file and folder names, the database and so on). Thus, you'd have to rename (this might not be a complete list)
- 基本文件夹com_yourname
- 所有包含组件名称(yourname.php等)的文件名
- 所有目录名称,包括组件名称(如果要避免与默认视图名称混淆)
- 文件中所有出现的组件名称(主要是PHP类名称)
- 保存您的组件名称的数据库条目
- 不要忘记指向您组件的所有链接.
您可能要考虑创建一个新组件并仅复制重要内容...
You might want to consider creating a new component and just copying the important contents...
这篇关于如何更改组件名称Joomla的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文