Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

extension.xml: the packaged description

Write the extension.xml of a theme with its metadata block (name, version, copyright, license, website) and optional dependencies, check it with xmllint, and keep it equal to ezinfo.php.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/extension-xml.md

On this page

extension.xml: the packaged description

This page is for designers who prepare a theme for release. extension.xml is the second metadata file of an extension. The About page reads it first when it has a <metadata> block, so a wrong value here wins over a correct one in ezinfo.php.

A complete example

This is the file of cjw_themes_jumper 0.1.6, as published:

<?xml version="1.0" encoding="utf-8" ?>
<software>
    <metadata>
        <name>CJW Themes Jumper</name>
        <version>0.1.6</version>
        <copyright>Copyright (C) 2007 - 2026 CJW Network, JAC Systeme GmbH and 7x</copyright>
        <license>GNU General Public License v2.0 (or any later version)</license>
        <info_url>https://github.com/se7enxweb/cjw_themes_jumper</info_url>
    </metadata>
</software>

Step by step

  1. Create extension/mytheme/extension.xml with the root <software> and a <metadata> block.

  2. Fill the elements:

    ElementValueMust equal
    <name>Human nameName in ezinfo.php
    <version>Release version without vVersion in ezinfo.php, the tag, composer.json version if you keep one
    <copyright>Years and holdersCopyright in ezinfo.php
    <license>The license's full nameLicense in ezinfo.php and the LICENSE file
    <info_url>Project pageInfo_url in ezinfo.php
  3. If the theme needs another extension, add a <dependencies> block (Declaring dependencies in extension.xml).

  4. Check that the XML is well formed:

    xmllint --noout extension/mytheme/extension.xml

    Expected: no output. Any output names the line that is broken.

  5. Reload Setup > About and Setup > Extensions: the row shows the values of this file.

Values never to write

  • //autogentag// or dev-master as the version: they were placeholders of build scripts long ago and tell a reader nothing.
  • A license name that differs from the LICENSE file.
  • A website that is not yours, for example the product's site for a theme the product does not maintain.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x