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

What a site installer package is

What a site installer package (a package of type site) is, what it carries and what it leaves to the packages it requires, with sevenx_multisite as the worked example and the twelve site packages of the 6.0.15 index.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/basics/what-a-site-installer-package-is.md

On this page

What a site installer package is

This page is for anyone who chooses a site package in the setup wizard, sets one in kickstart.ini, or passes one to exp:install --package, and wants to know what that choice really is. It answers: what is a site package, what does it contain, what does it leave to other packages, and which ones exist.

Contents

  1. In one paragraph
  2. The three parts of a site package
  3. A worked example: sevenx_multisite
  4. The packages a site package requires
  5. The site packages of 6.0.15
  6. What a site package is not
  7. Related pages

In one paragraph

A site installer package, or site package, is an Exponential package whose package.xml says <type value="site"/>. It describes a whole starting site, but it carries very little of that site itself: it names the packages that hold the content classes, the content, the extensions and the designs (<dependencies><requires>), and it carries PHP install scripts (<settings><settings-file>) that the installer calls to write the siteaccess settings, roles and preferences. The setup wizard, the kickstarter and exp:install only offer packages of this type as the site to install (eZStepSiteTypes::fetchAvailableSitePackages() filters on 'type' => 'site', and the remote list keeps only index entries with type="site").

The three parts of a site package

PartIn package.xmlWhat it does
Description<name>, <summary>, <description>, <vendor>, <version>, <licence>, thumbnail in <files>What the wizard shows on the site selection page
Requirements<dependencies><requires><require type="ezpackage" .../>The packages that are fetched with it and installed
Install scripts<settings><settings-file filename="..."/>, files in settings/PHP functions the Create sites step calls at fixed points

Every site package of the 6.0.15 index has install_type="import" and an empty <install/>: the site package itself installs nothing. What ends up on the site comes from the packages it requires and from its install scripts. See Import versus install.

A worked example: sevenx_multisite

sevenx_multisite is the default site package of exp:install and of exp:kickstarter ini --yes. Its source is the folder packages/sevenx_multisite/ of se7enxweb/sevenx-ezpackage. Its archive on the package server contains:

documents/LICENCE
files/default/image/logo.png
files/default/thumbnail/thumbnail.png
package.xml
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

The parts of its package.xml that matter here (shortened; the maintainer e-mail is left out):

<package version="6.0.15-0" development="false" is_active="true" install_type="import">
  <name>sevenx_multisite</name>
  <vendor>7x</vendor>
  <type value="site" />
  <version>
    <number>6.0</number>
    <release>15-stable</release>
  </version>
  <licence>GPL</licence>
  <dependencies>
    <requires>
      <require type="ezpackage" name="sevenx_classes" min-version="5.1" />
      <require type="ezpackage" name="sevenx_multisite_democontent" min-version="5.1" />
    </requires>
  </dependencies>
  <settings>
    <settings-file filename='ini-site.php'/>
    <settings-file filename='ini-admin.php'/>
    <settings-file filename='ini-common.php'/>
    <settings-file filename='sevenx-multi-site-installer.php'/>
    <settings-file filename='install-scripts.php'/>
    <settings-file filename='roles.php'/>
    <settings-file filename='preferences.php'/>
  </settings>
  <install />
  <uninstall />
</package>

So installing "sevenx_multisite" means: import it, import and install sevenx_classes (the content classes) and sevenx_multisite_democontent (content classes and the demo content), and run the installer class in sevenx-multi-site-installer.php through the hooks in install-scripts.php, ini-*.php, roles.php and preferences.php. The details of that installer are in The multisite installer script.

Note

The layout rows (explayouts_* tables) of a sevenx_multisite site are not in any package. The installer seeds them from the share/ folders of extensions; see Layouts data and share DBA files.

The packages a site package requires

The required packages are ordinary packages with install_type="install" (or none, which means the same) and real install items. In the 6.0.15 index they are:

TypePackagesInstall items they carry
contentclasssevenx_classes, ezwebin_classes, ezflow_classes, ezdemo_classesezcontentclass, one per class
contentobjectsevenx_multisite_democontent(_clean), cjw_multisite_democontent, sevenx_democontent(_clean), sevenx_banners, the ezwebin_, ezflow_ and ezdemo_ content packagesezcontentobject (one item for all objects), some also ezcontentclass
extensionsevenx_extension, ezwebin_extension, ezflow_extension, ezdemo_extension, ezpaypal_extension, ezwt_extension, ezstarrating_extension, ezgmaplocation_extensionezextension
sitestylesevenx_design_blue, _cleangray, _gray, the ezwebin_design_ three, ezflow_designezfile (with install_type="import")

Each type and handler is explained in Package types and Install items and handlers.

The site packages of 6.0.15

The index at https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/index.xml lists twelve packages with type="site":

PackageSummary in the indexRequires (count)
sevenx_multisite7x MultiSite Default Installation2
sevenx_multisite_clean7x MultiSite Default Installation (without demo content)2
cjw_multisiteCJW Multisite2
sevenx_site7x Simple Website Interface11
sevenx_site_clean7x Simple Website Interface (without demo content)10
ezflow_site, ezflow_site_cleaneZ Flow, eZ Flow (without demo content)9 each
ezwebin_siteWebsite Interface11
ezwebin_site_cleanWebsite Interface (without demo content)10
ezdemo_site, ezdemo_site_cleanExponential Demo Site, ... (without demo content)8 each
plain_sitePlain site0

A _clean variant requires the _clean content package instead of the demo content one. The per-package pages are sevenx_multisite and cjw_multisite; the full list of files on the server is in What is on the package server.

What a site package is not

  • Not an extension. Extensions are installed from Composer or Git, or from packages of type extension; a site package only names them.
  • Not the whole site. Classes and content come from the packages it requires; layouts of sevenx_multisite come from extension share files.
  • Not a backup. A site package builds a new site. To move an existing site, see ezpm, the package manager on the command line.
  • Not installed by itself in Setup > Packages. Its package page says there is nothing to install, because its install type is import.

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