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

Siteaccess settings inside a theme

Ship settings that apply only while one siteaccess runs, in extension/<theme>/settings/siteaccess/<siteaccess>/, and settings for all of a theme's siteaccesses in settings/override/ - with the example of…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/siteaccess-settings-in-an-extension.md

On this page

Siteaccess settings inside a theme

This page is for designers whose theme comes with its own site (siteaccess), or who host several sites from one installation, each in its own extension.

Two places

Folder in the themeApplies
settings/siteaccess/<siteaccess>/Only while that siteaccess runs
settings/override/While any siteaccess that has a settings/siteaccess/<name>/ folder in this extension runs (since January 2026)

The second place is described in Per-site settings inside extensions. Its placement name, as the debug output shows it, is ext-siteaccess-override:<extension>.

A real example

cjw_themes_jumper ships settings/siteaccess/cjw_starter/ with collect.ini, explayouts.ini, module.ini, override.ini and site.ini append files. Its information collection settings, for example, are read only in the starter siteaccess, so the forms of the theme do not change any other site of the installation.

Step by step

  1. Create the folder: mkdir -p extension/mytheme/settings/siteaccess/mysite.

  2. Add site.ini.append.php with what only this site needs:

    <?php /* #?ini charset="utf-8"?
    
    [DesignSettings]
    SiteDesign=mytheme
    
    */ ?>
  3. Clear the INI cache: php bin/php/ezcache.php --clear-tag=ini --allow-root-user.

  4. Check the value for that siteaccess:

    ./console exp:ini where site.ini/DesignSettings/SiteDesign -s mysite --allow-root-user

    Expected: your file among the files, and mytheme in effect.

  5. Open the siteaccess in a browser and check that the design is used.

Things to know

  • The siteaccess itself (its name in site.ini [SiteAccessSettings], its host or URL matching) is set up by the installation, not by the theme. Your README explains the lines to add.
  • Do not ship a siteaccess folder named like a common siteaccess (site, admin) unless the theme really is meant for it; it would change sites the user did not expect.

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