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

The design settings a theme ships

Which design settings belong in the theme extension and which belong to the installation - SiteDesign, AdditionalSiteDesignList[], StandardDesign and the stylesheet and script lists - with a recommended split.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/design-settings-a-theme-ships.md

On this page

The design settings a theme ships

This page is for designers deciding which settings to put in their theme and which to leave to the person who installs it. How designs fall back on each other is explained in The design cascade; here the question is only where each setting lives.

The settings involved

SettingFile and blockDefault in the kernelMeaning
SiteDesignsite.ini [DesignSettings]admin (the global default; siteaccesses set their own)The design a siteaccess uses first
AdditionalSiteDesignList[]site.ini [DesignSettings]emptyFurther designs searched before the standard one
StandardDesignsite.ini [DesignSettings]standardThe last fallback
DesignExtensions[]design.ini [ExtensionSettings]emptyExtensions searched for designs
FrontendCSSFileList[], FrontendJavaScriptList[]design.ini [StylesheetSettings], [JavaScriptSettings]emptyStylesheets and scripts the public pagelayout loads (Loading stylesheets)
In the theme extensionIn the installation (siteaccess or override)
DesignExtensions[]=<extension>SiteDesign=<design> for the siteaccess that should use the theme
The theme's own stylesheet and script listsAdditionalSiteDesignList[] when the installation combines several themes
Defaults of the theme's own settings fileSite name, URLs, mail and database settings

The reason: a theme can be installed on an installation with several siteaccesses. If the theme set SiteDesign globally, it would change the administration and every other site too.

When the theme ships a siteaccess

Some themes come with a siteaccess of their own (cjw_themes_jumper has settings for cjw_starter). Then SiteDesign may live in extension/<theme>/settings/siteaccess/<siteaccess>/site.ini.append.php, because it only applies while that siteaccess runs (Siteaccess settings inside a theme).

Step by step

  1. Put DesignExtensions[] and the stylesheet lists in the theme.

  2. Document the SiteDesign line in the README instead of setting it.

  3. On a test installation, set it for one siteaccess:

    ./console exp:ini set site.ini/DesignSettings/SiteDesign mytheme siteaccess:site --dry-run --allow-root-user

    Read the printed file, then run it again without --dry-run.

  4. Clear the INI cache: php bin/php/ezcache.php --clear-tag=ini --allow-root-user.

  5. Check that the administration still uses its own design.

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