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>
<packager>Todor Iliev</packager>
<description>Joomla! Installer Sample and Test Package.</description>
<files folder="packages">
<file type="component" id="com_helloworld" ></file>
<file type="module" id="mod_helloworld" client="site"></file>
<file type="plugin" id="helloworld" group="system"></file>

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.

A manifest file with data about all extensions.
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