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

What cjw_multisite is made of

The parts of the CJW starter site package one by one. The site package cjw_multisite and its settings files, the content package cjw_multisite_democontent, the required sevenx_classes, the extension that holds the…

Download as PDF

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

On this page

What cjw_multisite is made of

This page takes cjw_multisite apart: which packages it consists of, what each folder holds, and which file the setup calls when. It is for developers who want to change the package or build one like it, and for administrators who want to know what lands in var/storage/packages/7x/. Every file named here is in the source repository se7enxweb/cjw_multisite-ezpackage and in the imported copies of an installation.

Contents

  1. The packages at a glance
  2. The site package cjw_multisite
  3. The settings files and who calls them
  4. The content package cjw_multisite_democontent
  5. What is outside the packages
  6. The source repository
  7. Related pages

The packages at a glance

PackageTypeInstall typeHoldsArchive size
cjw_multisitesiteimportThumbnail, logo, license, seven settings files and their two helpers97,634 bytes
cjw_multisite_democontentcontentobjectinstall40 class definitions, 138 object files, four side files169,949 bytes
sevenx_classescontentclass(its own)The base classes, shared with sevenx_multisitesee sevenx_classes

Sizes are the content-length of the files under https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/. The content package is small because it carries no images: its 158 <simple-file> entries point into the extension (see What is outside the packages).

The site package cjw_multisite

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

The parts of package.xml that matter:

<dependencies>
  <requires>
    <require type="ezpackage" name="sevenx_classes" min-version="5.1" />
    <require type="ezpackage" name="cjw_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='cjw-multi-site-installer.php'/>
  <settings-file filename='install-scripts.php'/>
  <settings-file filename='roles.php'/>
  <settings-file filename='preferences.php'/>
</settings>
<install />
<uninstall />

The site package has no install items of its own (<install /> is empty). Its <files> list names the thumbnail and the logo with their MD5 sums; the logo is set on the template look object at the end of the install. The maintainer and changelog entries carry the name "Administrator User" and a maintainer e-mail.

The settings files and who calls them

Each listed settings file defines one function with a fixed name; the setup's create sites step looks for these names (see Install scripts in a site package). Every one of them only creates a cjwMultiSiteInstaller and hands over:

FileFunctionCalls
ini-site.phpeZSiteINISettings( $parameters )siteINISettings(): menu, override, toolbar, site, image, content, template, content structure menu and ODF settings of the user siteaccess
ini-admin.phpeZSiteAdminINISettings( $parameters )adminINISettings()
ini-common.phpeZSiteCommonINISettings( $parameters )commonINISettings(): the settings/override files
install-scripts.phpeZSitePreInstall() and eZSitePostInstall( &$parameters )preInstall() before the packages, postInstall() after them
roles.phpeZSiteRoles( $parameters )siteRoles()
preferences.phpeZSitePreferences( $parameters )sitePreferences()
cjw-multi-site-installer.phpnoneDefines class cjwMultiSiteInstaller extends eZSiteInstaller (5,939 lines)

post-install-fix.php and cjw-starter-install.php are not in the <settings> list. The installer loads them with require_once at its top:

require_once dirname( __FILE__ ) . '/post-install-fix.php';
require_once dirname( __FILE__ ) . '/cjw-starter-install.php';

post-install-fix.php (593 lines) says of itself that it was generated from the 7x MultiSite installer's helpers by renaming sevenx* functions to cjw*, "so both files can never meet as one declaration", and leaving out what only the 7x demo content needs. cjw-starter-install.php (827 lines) holds the steps of the starter content. Both are described in The installer scripts.

The content package cjw_multisite_democontent

packages/cjw_multisite_democontent/
  package.xml
  documents/LICENCE
  ezcontentclass/class-<identifier>.xml     40 files
  ezcontentobject/contentobjects.xml
  ezcontentobject/object-cjw-starter-o-*.xml  138 files
  cjw-class-additions.xml
  cjw-explayouts.json
  cjw-paths.json
  cjw-starter-import.json

Its <install> list has 40 ezcontentclass items and one ezcontentobject item (contentobjects); its <uninstall> list removes the objects again. The four side files are not install items: the kernel's package handlers never read them, the site package's installer does. Details in The demo content package.

What is outside the packages

WhatWhereRead by
The images (155 entries) and files (3 entries) of the starter contentextension/cjw_themes_jumper/share/content-images/, share/content-files/cjwLinkStarterFilesFromExtension() before the packages install
The design starter and its settingsextension/cjw_themes_jumper/the user siteaccesses at run time
The TMV event feed (optional)extension/cjw_tmv/left out of the extension list when the folder is not there
The schemas of the extensionsextension/<name>/share/db_schema.dbaextensionSchemas() in preInstall()
The default admin layoutsextension/explayouts/share/fragments/admin_layouts_db_data.dbapostInstallImportAdminLayouts()

The 158 simple-file entries name 77 distinct files in the extension; the 6.0.15 copy of the extension holds 74 images and 3 files in those two folders.

The source repository

se7enxweb/cjw_multisite-ezpackage is "laid out as the 7x package repository" (its first commit):

PathPurpose
packages/cjw_multisite/, packages/cjw_multisite_democontent/The two packages, unpacked
bin/pack.shPacks every folder under packages/ (except package_set) with tar -cz into <name>.ezpkg in --output-dir
bin/repack_extension.sh, bin/ezpxmlextfilelist.php, ant/Helpers carried over from the 7x package repository
.github/FUNDING.ymlThe funding links of the repository

pack.sh leaves out version control folders and files (.git, .gitignore, .gitattributes, .gitmodules, .svn, .hg), editor and system leftovers (.DS_Store, .idea, .vscode, *~, *.swp), node_modules, .cache and pack_and_publish.bat (the commit of 2026-10-14). Pass --output-dir; the script's default is a directory under /tmp.

cd cjw_multisite-ezpackage
sh bin/pack.sh --output-dir=../build
tar -tzf ../build/cjw_multisite.ezpkg | head

How a rebuilt archive reaches the package server is described in How a release reaches the package server.

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