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

What sevenx_multisite is made of

The files inside the sevenx_multisite site package and the packages it requires, what each settings file does, and which parts of the installation come from outside the packages.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/sevenx-multisite/what-it-is-made-of.md

On this page

What sevenx_multisite is made of

This page is for developers and administrators who want to open the sevenx_multisite package and know what every file is for. It answers: which files the site package holds, what its package.xml declares, which packages it pulls in, and which parts of a finished installation come from somewhere else.

Contents

  1. The files of the site package
  2. What package.xml declares
  3. The settings files
  4. The required packages
  5. What is not in the packages
  6. Opening the package yourself

The files of the site package

The folder packages/sevenx_multisite/ of se7enxweb/sevenx-ezpackage holds twelve files, and the published sevenx_multisite.ezpkg of 6.0.15 holds the same ones:

package.xml
documents/LICENCE
files/default/image/logo.png
files/default/thumbnail/thumbnail.png
settings/ini-admin.php
settings/ini-common.php
settings/ini-site.php
settings/install-scripts.php
settings/post-install-fix.php
settings/preferences.php
settings/roles.php
settings/sevenx-multi-site-installer.php

There is no content and no class definition in the site package itself: those come from the packages it requires.

What package.xml declares

ElementValue in sevenx_multisite
<package version>6.0.15-0, with install_type="import"
<name>sevenx_multisite
<summary>MultiSite Default Installation
<vendor>7x
<type value>site
<ezpublish><version>6.0.15-stable (named version 6.0)
<version>number 6.0, release 15-stable
<licence>GPL, with the text in documents/LICENCE
<state>stable
<maintainers>one maintainer with the role lead and a maintainer e-mail
<files>a default collection with a thumbnail (thumbnail.png) and an image (logo.png), each with an md5sum
<requires>sevenx_classes and sevenx_multisite_democontent, both type="ezpackage", min-version="5.1"
<settings>seven <settings-file> entries, listed below
<install>, <uninstall>empty: the package installs no items of its own

The <host> in <packaging> names the machine the package was built on. The element-by-element reference is package.xml reference.

The settings files

CreateSites (kernel/setup/steps/ezstep_create_sites.php) includes every <settings-file> of the chosen site package from its settings/ folder, then calls the functions those files define when they exist. The seven files listed in sevenx_multisite's package.xml, in their order there:

FileDefinesCalls on sevenxMultiSiteInstaller
ini-site.phpeZSiteINISettings()siteINISettings(): settings of the public siteaccess
ini-admin.phpeZSiteAdminINISettings()adminINISettings(): settings of the admin siteaccess
ini-common.phpeZSiteCommonINISettings()commonINISettings(): settings written to settings/override/
sevenx-multi-site-installer.phpthe class sevenxMultiSiteInstaller(the class itself, 7692 lines)
install-scripts.phpeZSitePreInstall(), eZSitePostInstall()preInstall() and postInstall()
roles.phpeZSiteRoles()siteRoles()
preferences.phpeZSitePreferences()sitePreferences()

Each wrapper is a few lines: it creates a new sevenxMultiSiteInstaller with the parameters it was given and returns what the method returns.

post-install-fix.php is the eighth file. It is not a <settings-file>: the installer loads it itself with require_once dirname( __FILE__ ) . '/post-install-fix.php'; on its first line of code. It holds the functions that repair node placement, layout references, menus, tags and URL aliases after the content is in. See Post-install fixes.

Note

sevenx_multisite and sevenx_multisite_clean carry byte-identical copies of all eight PHP files. Only their package.xml differs: name, summary, description and the demo content package they require.

The required packages

PackageTypeContentsPage
sevenx_classescontentclass33 class definitions in ezcontentclass/, install_type="install"sevenx_classes
sevenx_multisite_democontentcontentobject31 class definitions, 291 object files, 194 image and file blobs in simplefiles/The demo content packages

How the setup resolves <requires> and in which order it installs them is described in Dependencies and install order.

What is not in the packages

Several parts of a finished installation do not travel in any .ezpkg:

PartWhere it comes from
The templates and design of both sitesthe sevenx_themes_media extension (design media), with sevenx_themes_simple after it
The siteaccess settings of bold and bold_gershipped by sevenx_themes_media in settings/siteaccess/bold and bold_ger, completed by the installer
Layouts, zones, blocks, collections and rulesextension/sevenx_themes_media/share/db_data.dba, see Layouts data and the share .dba files
Tags (eztags) and the star rating of the test productthe same db_data.dba
The newsletter classes and treethe cjw_newsletter extension's own packages, imported by a post-install step
The admin layoutsextension/explayouts/share/fragments/admin_layouts_db_data.dba

So the extensions must be in the installation before the site package is installed. The installer checks for some of them (exp_adminui, expai, sevenx_authentication_2fa, cjw_newsletter) and skips their parts when they are missing; the others are simply listed in ActiveExtensions.

Opening the package yourself

An .ezpkg is a gzip-compressed tar archive, so the usual tools read it:

curl -sO https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/sevenx_multisite.ezpkg
tar -tzf sevenx_multisite.ezpkg
tar -xzOf sevenx_multisite.ezpkg package.xml | less

An imported copy lives under var/storage/packages/7x/sevenx_multisite/ of any installation that installed it, next to a .cache folder the kernel writes. More on the format: The .ezpkg file.

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