xml - How do I package my joomla 2.5 component with a plugin? -
i'm still learning joomla , wondering how install plugin component in pkg_youcomponent.xml installation file. i've noticed joomla or higher possible use
folder="packages"
attribute on files
.
i'm trying package rocket theme rokbox plugin component. i'm not having luck.
here zip preview of pkg_autobase.
zip preview of pkg_autobase http://iforce.co.nz/i/df43tkzb.2ib.png
and here package script based off this.
<?xml version="1.0" encoding="utf-8" ?> <extension type="package" version="1.6"> <name>autobase</name> <author>michael jones</author> <creationdate>may 2012</creationdate> <packagename>autobase</packagename> <version>1.0.0</version> <url>http://www.triotech.co.nz/</url> <packager>michael jones</packager> <packagerurl>http://www.triotech.co.nz/</packagerurl> <description>package installer autobase , rokbox gallery manager</description> <update>http://www.triotech.co.nz/update</update> <files folder="packages"> <file type="component" id="autobase" >com_autobase.zip</file> <file type="plugin" id="rokbox" group="system">plg_sys_rokbox.zip</file> </files> </extension>
now thing i'm unsure is.. joomla 2.5 extension manager reports error
install path not exist package install: there error installing extension: com_autobase.zip
but far know i've packaged correctly (both component
, plugin
install fine individually). i'm wondering how correctly package component?
- each zip file referred in package xml must valid installation file.
- the error referring fact xml specifies zips located in directory called
packages
screenshot shows them on same level package manifest xml.
you can fix either putting them in directory called packages
(the recommended way) or removing folder="packages"
<files>
element.
Comments
Post a Comment