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

Registering the design: DesignExtensions[]

The one setting that makes the template system look into a theme extension's design folder - design.ini [ExtensionSettings] DesignExtensions[] - how to write it, how to check that it works, and what goes wrong without…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/registering-the-design.md

On this page

Registering the design: DesignExtensions[]

This page is for designers whose templates are not found although the files are in place. An active extension is not automatically searched for designs: it has to register itself as a design extension.

The setting

settings/design.ini explains it in its own comment: add the extension name to DesignExtensions[] to "automatically get design from the extension when it's turned on". In your theme:

<?php /* #?ini charset="utf-8"?

[ExtensionSettings]
DesignExtensions[]=mytheme

*/ ?>

saved as extension/mytheme/settings/design.ini.append.php. The value is the extension (folder) name, not the design name. Every design/<name>/ folder below the extension is then available as a design.

cjw_themes_jumper does exactly this, with a comment naming its design:

[ExtensionSettings]
# The design "starter" (design/starter/) of this extension
DesignExtensions[]=cjw_themes_jumper

Step by step

  1. Create the file above in your theme.

  2. Activate the extension (Activating a theme).

  3. Choose the design for a siteaccess (The design settings a theme ships).

  4. Clear the INI and template caches:

    php bin/php/ezcache.php --clear-tag=ini --allow-root-user
    php bin/php/ezcache.php --clear-id=template,template-override --allow-root-user
  5. Check what is in effect:

    ./console exp:ini where design.ini/ExtensionSettings/DesignExtensions --allow-root-user

    Expected: your extension's settings/design.ini.append.php among the files, and your extension name in the value in effect.

  6. Open a page of the siteaccess. With template debugging on, the template path comments show files from extension/mytheme/design/... (Debugging a design).

Symptoms when it is missing

You seeWhy
The site shows the standard design although SiteDesign=mythemeThe design folder is not searched
Some templates of the theme work, others notAnother extension registers a design of the same name
A new template file is ignoredThe template override cache still has the old list; clear template-override

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