In this article I will describe how to create and install a native Joomla! 1.6 package. I will give you a clearer view for what, how you can group modules, plug-ins, languages and components in a

01 The first thing you should do is to collect all your extensions in a separate archive. So each module, plugin, language, library or template will be on their own archive and will be separated from the other. Save them all in a directory for greater convenience.

Archive extensions

02 Now create a manifest file "pkg_helloworld.xml", and paste the following code in the file.

<?xml version="1.0" encoding="UTF-8" ?>
<extension type="package" version="1.6">
<name>HelloWorld Packages Demonstration</name>
<packagename>helloworld</packagename>
<version>1.6.0</version>
<url>http://www.joomla.org</url>
<packager>Todor Iliev</packager>
<packagerurl>http://www.itprism.com</packagerurl>
<description>Joomla! Installer Sample and Test Package.</description>
<update>http://update.itprism.com/packages/helloworld</update>
<files folder="packages">
<file type="component" id="com_helloworld" >com_helloworld.zip</file>
<file type="module" id="mod_helloworld" client="site">mod_helloworld.zip</file>
<file type="plugin" id="helloworld" group="system">plg_helloworld.zip</file>
</files>
</extension>

03 Archive everything in one package and you are done.

Manifest file

04 Install the package and go on the extension manager to check the results.

Installed Joomla! package

Below I have attached a sample source code and manifest data file for all extensions.

You can find additional information downloading the Joomla! source code from GitHub. In the directory "tests/_data/installer_packages" you will find more interesting examples.

Download

manifest.zip
A manifest file with data about all extensions.
pkg_helloworld.zip
A Joomla! package.

Share this post

Submit to DeliciousSubmit to DiggSubmit to FacebookSubmit to Google PlusSubmit to StumbleuponSubmit to TechnoratiSubmit to TwitterSubmit to LinkedIn
 

Free Subscription

You can get the latest publication via RSS, Twitter or Facebook. And I can also deliver last news to you for free via Email:

RSS subscription Find us on Facebook Google+ page Follow me