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

ezinfo.php: what the About page reads

Write the ezinfo.php file of a theme extension step by step, with the keys the About page and the upgrade checks read, a complete example from a real theme, and the checks to run before a release.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/ezinfo-php.md

On this page

ezinfo.php: what the About page reads

Every theme extension tells the system who it is in two small files: ezinfo.php and extension.xml. This page is about the first. When you finish it you have an ezinfo.php that shows your theme's name, version, license and website on Setup > About (/ezinfo/about) and on Setup > Extensions.

Before you start

Step by step

  1. Create extension/mytheme/ezinfo.php. The class name is the folder name followed by Info, and info() is static:

    <?php
    class mythemeInfo
    {
        public static function info()
        {
            return array(
                'Name'      => "My Theme",
                'Version'   => "1.0.0",
                'Copyright' => "Copyright (C) 2026 Your Name",
                'License'   => "GNU General Public License v2.0 (or any later version)",
                'Info_url'  => "https://github.com/<you>/mytheme",
            );
        }
    }
  2. Fill each key:

    KeyWhat to writeExample from a real theme
    NameThe human name of the themeCJW Themes Jumper
    VersionThe release version, without a v (tag v0.1.6 gives 0.1.6)0.1.6
    CopyrightThe years and every holder whose work is in the theme2007 - 2026 CJW Network, JAC Systeme GmbH and 7x
    LicenseExactly what your LICENSE file saysGNU General Public License v2.0 (or any later version)
    Info_urlThe theme's project page, usually its repositoryhttps://github.com/se7enxweb/cjw_themes_jumper
    Author (optional)Who wrote it7x

    The examples are copied from extension/cjw_themes_jumper/ezinfo.php as it ships with release 0.1.6.

  3. Write the same version, license and website into extension.xml. The About page reads extension.xml first when it has a <metadata> block, so the two files must agree (Keeping every version field in sync).

  4. Check the file:

    php -l extension/mytheme/ezinfo.php

    Expected: No syntax errors detected in extension/mytheme/ezinfo.php.

  5. Open Setup > About in the administration. Your theme's row shows the name, version, license and website you wrote. A dash means the value is missing.

Rules worth keeping

  • Quote every key ('Version', not Version) and keep info() static.
  • Never write a placeholder such as //autogentag// or dev-master as the version. The About page and the upgrade check cannot tell a placeholder from a real release.
  • Raise the version in the commit the release tag points at, never after the tag (Bumping the version before the tag).
  • The license line must match the LICENSE file. If the theme is GPL, write the license's full name as above.
The About page of the administration, which lists every extension with the version, license and website from its ezinfo.php or extension.xml
The About page of the administration, which lists every extension with the version, license and website from its ezinfo.php or extension.xml

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