简体   繁体   English

使用XML文件将文件从插件移动到文件夹中

[英]Moving files from a plugin into folders using an XML file

I am creating a plugin for an online store. 我正在为在线商店创建插件。 This plugin is supposed to implement the files inside into folders already created of this online store. 该插件应该将文件内置到此在线商店已创建的文件夹中。 I would like to know how could this be done from the XML install file that is used in my example for Joomla. 我想知道如何从我的Joomla示例中使用的XML安装文件中完成此操作。

Could anybody please shed me some light on this? 有人可以向我说明一下吗?

Thanks. 谢谢。

Read the link below. 阅读下面的链接。 It contains details how to create the XML. 它包含有关如何创建XML的详细信息。

http://docs.joomla.org/J1.5:Components:xml_installfile http://docs.joomla.org/J1.5:Components:xml_installfile

http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Developing_a_Basic_Component http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Developing_a_Basic_Component

XML may differ depending on the Joomla version you are using. XML可能会有所不同,具体取决于您使用的Joomla版本。 Please search on Google get the particular XML. 请在Google上搜索以获取特定的XML。

Install the component with the new files. 使用新文件安装组件。 It will update the existing files as you need. 它将根据需要更新现有文件。

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

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