Module 5: Site packages
Packages are how Exponential moves content, classes, extensions and whole sites between installations, and site packages are what every new installation is built from. This module goes from what a site package is, through the packages pages and the command line, to making, comparing, uploading and installing packages.
At a glance
| Course | Multisite and site packages |
| Duration | 5 hours 20 minutes (with two 10-minute breaks) |
| Lessons | 6 |
| Level | Intermediate to advanced |
Lessons
| Lesson | Duration | What learners do |
|---|---|---|
| Lesson 5.1: What a site package is | 45 minutes | Find the repositories and read sevenx_multisite's package.xml |
| Lesson 5.2: The packages pages in the administration | 45 minutes | Tour Setup > Packages, validate and download a package |
| Lesson 5.3: Packages on the command line with ezpm | 55 minutes | Package the content of Site B, export it in both formats, validate it |
| Lesson 5.4: Creating a package with the wizard | 50 minutes | Create a content class package with license and version |
| Lesson 5.5: Comparing a package with the site and importing single items | 50 minutes | Compare clubb_content with the site and bring one value back |
| Lesson 5.6: Uploading and installing packages | 55 minutes | Upload a neighbour's package, install it as drafts, tune the batches |
Preparing this module
- Each learner has a training installation made from the default site package, with Site B and some content below it (modules 1 and 2), an administrator account and shell access.
- For lesson 5.6, each learner needs a second installation to install on: a neighbour's lab or a second
exp:installin another directory. Plan how archives move between learners (a shared folder is easiest). - Check that
var/tmp/is writable for the site user; exports go tovar/tmp/course/and are removed at the end. - Never remove or replace packages of the
7xrepository on a shared server: they are installer sources. - Maintainer fields use role names and addresses at
example.invalid.
Timing plan
| Part | Minutes |
|---|---|
| Lesson 5.1 | 45 |
| Lesson 5.2 | 45 |
| Lesson 5.3 | 55 |
| Break | 10 |
| Lesson 5.4 | 50 |
| Lesson 5.5 | 50 |
| Break | 10 |
| Lesson 5.6 | 55 |
| Total | 320 |
On a one-day schedule, split the module after lesson 5.3.
Related pages
- Multisite and site packages: course overview
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
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.