Joomla 3 Component xml install
发布时间:2020-12-16 05:13:11 所属栏目:百科 来源:网络整理
导读:?xml version="1.0" encoding="utf-8"?install type="component" version="1.5.0" nameHello/name !-- The following elements are optionaland free of formatting constraints -- creationDate2007-02-22/creationDate authorJohnDoe/author authorEmailjo
<?xml version="1.0" encoding="utf-8"?> <install type="component" version="1.5.0"> <name>Hello</name> <!-- The following elements are optionaland free of formatting constraints --> <creationDate>2007-02-22</creationDate> <author>JohnDoe</author> <authorEmail>john.doe@example.org</authorEmail> <authorUrl>http://www.example.org</authorUrl> <copyright>CopyrightInfo</copyright> <license>LicenseInfo</license> <!-- The version string is recorded in the components table --> <version>3.01</version> <!-- The description is optional anddefaults to the name --> <description>Descriptionof the component ...</description> <!-- Site Main File Copy Section --> <!-- Note the folder attribute: Thisattribute describes the folder to copy FROMin the package to install therefore files copied in thissection are copied from /site/ in the package --> <files folder="site"> <filename>controller.php</filename> <filename>hello.php</filename> <filename>index.html</filename> <filename>models/hello.php</filename> <filename>models/index.html</filename> <filename>views/index.html</filename> <filename>views/hello/index.html</filename> <filename>views/hello/view.html.php</filename> <filename>views/hello/tmpl/default.php</filename> <filename>views/hello/tmpl/index.html</filename> </files> <install> <sql> <file charset="utf8" driver="mysql">install.sql</file> </sql> </install> <uninstall> <sql> <file charset="utf8" driver="mysql">uninstall.sql</file> </sql> </uninstall> <administration> <!-- Administration Menu Section --> <menu>HelloWorld!</menu> <!-- Administration Main File Copy Section--> <files folder="admin"> <filename>hello.php</filename> <filename>index.html</filename> <filename>install.sql</filename> <filename>uninstall.sql</filename> </files> </administration> </install> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |