Actions

J1.5

Components:xml installfile

From Joomla! Documentation

Revision as of 21:45, 16 May 2008 by 3dentech (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE install SYSTEM "http://dev.joomla.org/xml/1.5/component-install.dtd"> <install type="component" version="1.5.0"> <name>hello_world</name>

<creationDate>2007 01 17</creationDate> <author>John Doe</author> <authorEmail>john.doe@example.org</authorEmail> <authorUrl>http://www.example.org</authorUrl> <copyright>Copyright Info</copyright> <license>License Info</license>

<version>Component Version String</version>

<description>Description of the component ...</description>


<installfile>install.eventlist.php</installfile>


<uninstallfile>uninstall.eventlist.php</uninstallfile>


<install> <sql> <file driver="mysql" charset="utf8">install.mysql.utf8.sql</file> <file driver="mysql">install.mysql.nonutf8.sql</file> </sql> </install>


<uninstall> <sql> <file driver="mysql" charset="utf8">uninstall.mysql.utf8.sql</file> <file driver="mysql">uninstall.mysql.nonutf8.sql</file> </sql> </uninstall>


<files> <filename>index.html</filename> <filename>test.php</filename> </files>



<media destination="com_test"> <filename>image.png</filename> <filename>flash.swf</filename> </media>

<administration>


<menu img="components/com_test/assets/test-16.png">EventList</menu> <submenu>

<menu link="option=com_helloworld&task=hello&who=world">Hello World!</menu>

<menu img="icon" task="hello" controller="z" view="a" layout="b" sub="c">Hello Again!</menu> <menu view="test" layout="foo">Testing Foo Layout</menu> </submenu>


<files folder="admin"> <filename>index.html</filename> <filename>admin.test.php</filename> </files>



<media folder="admin" destination="com_test"> <filename>admin-image.png</filename> <filename>admin-flash.swf</filename> </media> </administration> </install>