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

What a theme extension is

A theme extension is one folder under extension/ that carries a design and everything it needs; why designs belong there and not in the installation's own design/ folder, with three real themes as examples.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/what-a-theme-extension-is.md

On this page

What a theme extension is

This page is for designers who have built templates and stylesheets and wonder where to keep them.

In short

  • An extension is a folder under extension/ (the folder is set by site.ini [ExtensionSettings] ExtensionDirectory, default extension). It does nothing until it is switched on.
  • A theme extension is an extension whose main job is a design: a design/<name>/ folder with templates, stylesheets, scripts and images, plus the settings that tell the installation to use it.
  • Because it is a separate folder, a theme can be versioned, released, installed with Composer, packed as an .ezpkg, and upgraded without touching the kernel.

Why not edit the installation's own design folders

The installation ships designs of its own (design/standard, the administration designs). Changing files there looks quick, but:

Editing design/ of the installationUsing a theme extension
The next upgrade of Exponential overwrites your filesUpgrades leave extension/<yourtheme>/ alone
Nobody can tell your changes from the product'sYour theme is one folder with its own history
It cannot be shared or sold separatelyIt can be published as a package
The file consistency check lists every changed fileThe check of the product stays clean

What is inside one

A minimal theme extension has:

  • design/<design name>/templates/ with at least pagelayout.tpl (see The pagelayout);
  • design/<design name>/stylesheets/, javascript/, images/;
  • settings/design.ini.append.php with DesignExtensions[]=<extension name> (Registering the design);
  • ezinfo.php and extension.xml (ezinfo.php, extension.xml);
  • a LICENSE and a README.md.

Three real examples

The themes 7x maintains are public repositories you can read:

ThemeDesign folder(s)Notes
sevenx_themes_simpledesign/simpleShips content class packages in packages/ (Bundling content class packages)
cjw_themes_jumperdesign/starter, design/standardIts own settings file cjw_jumper.ini, siteaccess settings for cjw_starter, two small modules
sevenx_themes_mediathe media designTemplate operators, data types, a share/ folder with seed data

Each of these is a GitHub repository under se7enxweb/ and a Composer package on Packagist; look at https://github.com/se7enxweb/cjw_themes_jumper for a compact one.

A design is not always a whole theme

Some extensions carry a design only as a side job: a module's templates in design/standard/templates/<module>/, or an icon set. Everything in this section applies to them too; the word "theme" just means the design is the point.

Next steps

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