Table of contents:
The package definition is written in an XML dialect. A DTD or XML Schema describing the dialect or currently not available.
The package definition is stored in a package.xml file in the root of a package directory.
The following list describes the different parts of a package definition.
A package element is used as the root of the XML document. The root element defines the package version and install type.
The version attribute of the package element defines the version of your package.
Some packages can only be imported and not installed through the admin interface. An example of such packages are the site packages.
Whether a package can be installed or not is defined by the install_type attribute of the package element.
The formal name of your package is defined by the content of the name element. You should only use the characters a to z and and _ in your package name.
The summary element contains a one-line summary of your package.
The description element contains an extended description of your package.
By specifying a vendor in your package, it will be installed in a separate local repository, named after the vendor.
There are several package types included with eZ publish by default. They are defined in settings/package.ini [PackageSettings] TypeList[]:
Name | Identifier |
---|---|
Content object |
contentobject |
Content class |
contentclass |
Site style |
sitestyle |
Site |
site |
Patch |
patch |
In the package definition, the package type is defined by a type child element of the package element:
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish 6.0.2stable
Hosted by USA eZ Publish Community Partner : Brookins Consulting