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

Siteaccesses and languages of sevenx_multisite

Every siteaccess a sevenx_multisite install creates, the settings the installer writes for each, how the sites are matched, and how the languages chosen in the setup become siteaccesses.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/sevenx-multisite/siteaccesses-and-languages.md

On this page

Siteaccesses and languages of sevenx_multisite

This page is for administrators and hosts who run a sevenx_multisite installation and need to know which siteaccesses it has, what is set in each, and what happens with the languages chosen in the setup. Everything here is read from settings/sevenx-multi-site-installer.php and the kernel step kernel/setup/steps/ezstep_create_sites.php.

The sign-in page of the administration siteaccess
The sign-in page of the administration siteaccess

Contents

  1. The siteaccesses at a glance
  2. The user siteaccess
  3. Bold Agency: bold and bold_ger
  4. admin, editor and adminui
  5. Settings shared by all siteaccesses
  6. Languages and translation siteaccesses

The siteaccesses at a glance

SiteaccessMade byServesDesign
site (the setup's user siteaccess)CreateSites, then the installerFit & Healthymedia
one per extra language (for example ger)createTranslationSiteAccesses()Fit & Healthy in that languagecopied from site
boldcreateSecondarySiteaccesses() with settings shipped by sevenx_themes_mediaBold Agency in Englishmedia
bold_gerthe sameBold Agency in Germanmedia
admin (the setup's admin siteaccess)CreateSites, then the installerthe administrationadmin4l
editorthe kernel's createEditorSiteAccess() after the post-installcontent editingeditor
adminuipostInstallCreateAdminUISiteaccess() (or the kernel) when exp_adminui is installedthe administration in the Admin UI designfrom exp_adminui

bold and bold_ger are added only when their settings exist, either already in settings/siteaccess/<name>/ or shipped by an extension in extension/*/settings/siteaccess/<name>/ (secondarySiteaccessIsAvailable()). The theme extension sevenx_themes_media ships both.

The user siteaccess

postInstallUserSiteaccessINIUpdate() and siteINISettings() write to settings/siteaccess/site/:

File and groupSettings
site.ini [DesignSettings]SiteDesign=media, AdditionalSiteDesignList ezwebin, standard, base
site.ini [SiteSettings]SiteName (the site title), SiteDescription "An Exponential multisite installation", IndexPage and DefaultPage /content/view/full/<home node>, RootNodeDepth, SiteURL, MetaDataArray, LoginPage=embedded, AdditionalLoginFormActionURL pointing at the admin's /user/login
site.ini [SiteAccessSettings]RequireUserLogin=false, ShowHiddenNodes=false, ForceVirtualHost=true, PathPrefix, RelatedSiteAccessList
site.ini [RegionalSettings]Locale and ContentObjectLocale (the primary language, else eng-US), SiteLanguageList, ShowUntranslatedObjects=disabled
site.ini [Session]SessionNamePerSiteAccess=disabled
site.ini [FileSettings]VarDir=var/site
content.ini [NodeSettings]RootNode = the home node

The home node is found by its remote id media-n-939 with plain SQL (homeNodeID()), because node ids differ between installations and language-filtered lookups return nothing while the install runs. PathPrefix is the URL alias form of the home node's name ("Fit & Healthy"), written by postInstallSetSiteHomeAndPrefix(), so the site's pages are served without the home node's own path segment. RequireUserLogin=false is written explicitly because "the shipped settings/site.ini sets RequireUserLogin=true".

Bold Agency: bold and bold_ger

Bold Agency is a second site in the same installation, below the home node media-n-940. Its siteaccesses are reached by path on the main site's address (/bold/, /bold_ger/); they have no host or port of their own.

sevenx_themes_media ships settings/siteaccess/bold and bold_ger with the design media, SiteName=Bold Agency, the languages (bold: eng-US; bold_ger: ger-DE then eng-US, TranslationList=ger-DE) and a switcher map TranslationSA[bold]=English, TranslationSA[bold_ger]=Deutsch. The installer then writes settings/siteaccess/bold*/site.ini.append.php itself (createSecondarySiteaccesses()):

  • no [DatabaseSettings], on purpose: "the database is declared once in settings/override and inherited";
  • RequireUserLogin=false, ShowHiddenNodes=false, RelatedSiteAccessList, PathPrefix from the home node's name;
  • SiteDesign=media with simple, ezwebin, standard, base after it;
  • IndexPage, DefaultPage, SiteURL (the user siteaccess's address followed by /bold or /bold_ger), LoginPage=embedded and the admin login form address.

IndexPage and PathPrefix cannot be left to the theme. As the installer's comment explains, settings/siteaccess outranks extension/<ext>/settings/siteaccess, "and the extension can only ship node ids from whichever installation it was exported on".

admin, editor and adminui

adminINISettings() and postInstallAdminSiteaccessINIUpdate() write to settings/siteaccess/admin/:

SettingValue
SiteDesignadmin4l, with admin4, admin3, admin2, admin in AdditionalSiteDesignList
RequireUserLogin, ShowHiddenNodes, ForceVirtualHosttrue
LoginPagecustom
SiteNameAdmin
RegionalSettingsthe primary language, SiteLanguageList, and TranslationSA (the user siteaccess and its translations)
ExtensionSettings ActiveAccessExtensionsexpai and exp_adminui, each only when the extension is installed
content.ini RootNodethe parent of the home node
other filestoolbar.ini, menu.ini (header tabs), contentstructuremenu.ini, override.ini, icon.ini (crystal-admin), viewcache.ini, ezoe.ini, odf.ini

The editor siteaccess is made by the kernel after the post-install: createEditorSiteAccess() copies every *.ini.append.php of the admin siteaccess and sets SiteDesign=editor, AdditionalSiteDesignList admin4l, admin4, admin3, admin2, admin, ExtensionSettingsSiteAccess=admin and SiteName=Editor. The adminui siteaccess is made from the admin siteaccess's files with the Admin UI design chain; it "is reached by URI only (/adminui)". See Setup wizard and the editor siteaccess and Admin UI.

Settings shared by all siteaccesses

commonSiteINISettings() writes settings/override/site.ini.append.php, which every siteaccess inherits:

GroupSettings
[SiteAccessSettings]AvailableSiteAccessList and RelatedSiteAccessList (every served siteaccess), MatchOrder uri;host (uri;port with port access), PathPrefixExclude Media and Users, ForceVirtualHost=true, and HostMatchMapItems with host access
[PortAccessSettings]one entry per siteaccess with port access
[SiteSettings]SiteList, DefaultAccess (the user siteaccess), RootNodeDepth=1
[ExtensionSettings]ActiveExtensions
[DatabaseSettings]the driver and connection the install ran on
[Session]SessionNameHandler=custom, so the admin keeps a session of its own
[UserSettings]LogoutRedirect=/, plus the 2FA login handler when installed

MatchOrder starts with uri because the Bold siteaccesses are reached by path. No [RegionalSettings] is written to settings/override: it outranks every siteaccess, and a language set there "pinned the German Bold siteaccess to eng-US".

Languages and translation siteaccesses

The first language chosen in the setup is the primary language and is served by the user siteaccess. For every other chosen language createTranslationSiteAccesses() copies the user siteaccess into a new one:

  1. The name comes from languageNameFromLocale() in kernel/classes/ezsiteinstaller.php: the part before the dash (ger-DE becomes ger). When two chosen languages share that part, the later one gets its country (eng_gb).
  2. When the user siteaccess is bold, the name gets the prefix bold_.
  3. A name that is already taken (site, admin, editor, adminui, bold, bold_ger, the user and admin siteaccesses) gets the country, then a number.
  4. The copy gets Locale and ContentObjectLocale of its language, TextTranslation=enabled (disabled for eng-GB), a SiteLanguageList with its language first, the site title and home page of the user siteaccess, and ExtensionSettingsSiteAccess set to the user siteaccess so it uses the same theme settings.
  5. postInstallSetSiteHomeAndPrefix() gives it the same PathPrefix and copies the user siteaccess's menu.ini.append.php to it.

The bundled content is in eng-US. When eng-US is not among the chosen languages it is added after them as a fallback in every SiteLanguageList (fallback_locales), so pages still show their content.

Note

With port access, the translation siteaccesses count up from the user siteaccess's port, leaving out the admin and editor ports. With host access they use the site's host name.

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