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

Per-site settings in extensions

How each department site keeps its settings, design and templates together in one extension that applies only while its siteaccesses run (settings/override inside the extension), so a multisite installation stays…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/building/multisite/per-site-settings-in-extensions.md

On this page

Per-site settings in extensions

This page is for administrators and developers of an installation with many sites. Since January 2026 an extension that holds a site can carry override settings that are active only while one of its siteaccesses runs, and clearing the INI cache clears it for every project (Per-site settings inside extensions).

Contents

  1. Layout of a site extension
  2. Setting it up
  3. Why this suits departments
  4. Translation siteaccesses

Layout of a site extension

extension/site_dept_example/
  settings/override/site.ini.append.php        settings for all siteaccesses of this site
  settings/siteaccess/dept_example/...         settings of one siteaccess
  design/dept_example/templates/...            the design layer
  translations/...                             interface texts (extension named in TranslationExtensions[])

Setting it up

  1. Give the extension a settings/siteaccess/<siteaccess>/ directory for its siteaccess; the new directories are only looked up when it does, so unrelated extensions cost nothing.
  2. Put settings for every siteaccess of the extension in its settings/override/.
  3. Clear the INI cache: php bin/php/ezcache.php --clear-tag=ini.

Why this suits departments

  • One Git repository per department site, with its own history and reviewers.
  • The central settings stay small; a department's change cannot change another's settings.
  • Moving a site to another installation means moving its extension and its content.

Translation siteaccesses

A language siteaccess that should look like the department's main site gets [SiteAccessSettings] ExtensionSettingsSiteAccess=<main siteaccess> (Extension loading order).

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