The demo content packages
This page is for developers, administrators and website creators who want to know what content a sevenx_multisite
installation starts with, or why a _clean installation looks the way it does. It answers: what the two content
packages hold, how they are organized, and how they differ.
Contents
- The two packages
- The 31 ng content classes
- The content objects
- What the clean package keeps
- Binary files and remote ids
- Files that ship but are not installed
The two packages
sevenx_multisite_democontent | sevenx_multisite_democontent_clean | |
|---|---|---|
| Summary | MultiSite demo content | MultiSite site structure without demo content |
| Type | contentobject, install_type="install" | the same |
| Version | number 6.0, release 15-stable | the same |
Class files in ezcontentclass/ | 31 | the same 31, byte-identical |
Object files listed in contentobjects.xml | 291 | 35 |
Files in simplefiles/ | 194 | 6 |
<simple-file> entries in package.xml | 314 | 6 |
| Published archive size (6.0.15) | 62669990 bytes | 221174 bytes |
| Required by | sevenx_multisite | sevenx_multisite_clean |
Both packages have the same <install> section: 31 ezcontentclass items followed by one ezcontentobject item
(filename="contentobjects"). Their <uninstall> section lists the same items. The contentobjects.xml of both names
two top nodes, media-n-940 "Bold Agency" and media-n-939 "Fit & Healthy", and the siteaccesses site and
admin.
The 31 ng content classes
Read from the class files. "Netgen" and "Netgen Components" are the class groups named in the files.
| Identifier | Name | Group | Attributes |
|---|---|---|---|
ng_accordion_item | Accordion item | Netgen | 3 |
ng_article | NG Article | Netgen | 16 |
ng_audio | Audio | Netgen | 7 |
ng_banner | NG Banner | Netgen | 7 |
ng_blog_post | NG Blog post | Netgen | 17 |
ng_category | Category | Netgen | 18 |
ng_component_about | About Component | Netgen Components | 10 |
ng_component_features | Features Component | Netgen Components | 73 |
ng_component_hero | Hero Component | Netgen Components | 11 |
ng_component_lead | Lead Component | Netgen Components | 8 |
ng_component_logos | Logos Component | Netgen Components | 10 |
ng_component_quote | Quote Component | Netgen Components | 51 |
ng_contact_form | Contact form | Netgen | 21 |
ng_container | Container | Netgen | 2 |
ng_cookie_policy | Cookie policy | Netgen | 26 |
ng_frontpage | NG Frontpage | Netgen | 2 |
ng_gallery | NG Gallery | Netgen | 10 |
ng_htmlbox | HTML box | Netgen | 3 |
ng_job_application_form | Job Application Form (in-place/modal) | Netgen | 20 |
ng_job_position | Job position | Netgen | 14 |
ng_landing_page | Landing page | Netgen | 9 |
ng_lead_form | Lead form (in-place/modal) | Netgen | 18 |
ng_logo | Logo | Netgen | 6 |
ng_menu_item | Menu item | Netgen | 11 |
ng_news | News | Netgen | 18 |
ng_person | Person | Netgen | 8 |
ng_recipe | Recipe | Netgen | 21 |
ng_shortcut | Shortcut | Netgen | 6 |
ng_site_info | Site info | Netgen | 20 |
ng_topic | Topic | Netgen | 7 |
ng_video | NG Video | Netgen | 15 |
Several datatypes these classes use come from extensions: eztags (eztags), ngenhancedlink (exp_enhanced_link),
sckenhancedselection (enhancedselection2), ngclasslist (ngclasslist) and xrowmetadata. That is why the
installer's preInstall() makes the settings of every listed extension part of the run before any package is
installed (activateSiteExtensionSettings()); without it "the datatypes of enhancedselection2 and ngclasslist were
'not found'", as the comment in the installer puts it.
The content objects
The 291 object files of the full package, counted by the ezremote:class_identifier of each file:
| Class | Objects | Class | Objects |
|---|---|---|---|
image | 67 | ng_topic | 4 |
ng_article | 27 | ng_component_lead | 4 |
ng_video | 25 | folder | 4 |
ng_recipe | 19 | ng_person | 3 |
ng_container | 19 | ng_news | 3 |
ng_shortcut | 12 | ng_job_position | 3 |
ng_logo | 12 | ng_site_info, ng_lead_form, ng_gallery, ng_frontpage, ng_contact_form | 2 each |
ng_component_features | 11 | ng_component_quote, ng_component_logos, ng_category | 2 each |
ng_landing_page | 10 | review, product, ng_audio, file, comment | 1 each |
ng_blog_post | 9 | ||
ng_accordion_item | 8 | ||
ng_component_hero, ng_component_about | 6 each | ||
ng_menu_item | 7 | ||
ng_banner | 6 | ||
ng_htmlbox | 5 |
Among them are a guided tour, the ng_landing_page "Tour" (remote id showcase-s1-tour) with twelve stops
(object-media-o-showcase-s1-stop-01.xml to -12.xml), and a "Test Product" (product) with one review and one
comment. The translations are mostly eng-US; 51 object files also carry a ger-DE translation: mostly the Bold
Agency pages, job positions, components and forms, plus the footer links, which the German bold_ger siteaccess
shows.
What the clean package keeps
The 35 objects of sevenx_multisite_democontent_clean are the frame of both sites without articles, recipes, videos
or images:
| Kind | Objects |
|---|---|
| Home pages | "Fit & Healthy" and "Bold Agency" (ng_frontpage) |
| Site settings | "Fit & Healthy site info - [SITEINFO]" and "Bold Agency - [SITEINFO]" (ng_site_info) |
| Forms | "Contact" (ng_contact_form), "Lead form" and "Job application form" (ng_lead_form) |
| Legal pages | "Privacy Policy" and "Cookie Policy" for each site (four ng_article) |
| Media library folders | "Media", "Images", "Files", "Footer links" (folder) |
| Containers | Banners, Clients & Partners, Components and its six component folders, Configuration, Forms, Menu items, Videos |
| Footer links | Cart, Edit, Forgot Password, Login, Signup, Sitemap, Tagcloud (ng_menu_item) |
The layouts in sevenx_themes_media/share/db_data.dba still name the demo content that the clean package leaves out.
The post-install fix removes those references instead of letting them point at whatever object received the same id;
see Post-install fixes.
Binary files and remote ids
Images, files, audio and video are stored once in simplefiles/ under short hashed names (simplefiles/4d7492d6.jpg)
and referenced from <simple-file> entries with their original path, so one binary can serve several references
(commit of 2026-09-13: "store each binary once instead of once per reference, so the built archives fit the
distribution size limit"). In the full package these are 135 .jpg, 5 .jpeg, 29 .png, 22 .svg, one .mp4, one
.wav and one .txt file, about 61 MB unpacked.
Every object and node carries a remote id of the form media-o-<name or number> and media-n-<number>. The installer
relies on them: node ids differ between installations, remote ids do not. The home nodes are found as media-n-939
(Fit & Healthy) and media-n-940 (Bold Agency), the menus and legal pages through the package node ids the post-install
fix maps.
Files that ship but are not installed
None any more. Until 2026-10-19 the full package also carried 113 files named
object-media-o-<n>.xml.bak.eztagsdedupe and object-media-o-<n>.xml.bak.tagorder in ezcontentobject/, backup
copies that packages/build.sh packed with everything else. Nothing read them: contentobjects.xml lists only the
object-*.xml files, and the post-install code looks for files matching object-media-o-*.xml and
^object-.+\.xml$. They were removed from the source repository, build.sh and bin/pack.sh now leave *.bak and
*.bak.* files out of every package, and the rebuilt archive (62,314,497 bytes) is on the package server.
Related pages
- sevenx_multisite
- sevenx_classes
- The clean variant and sevenx_site
- Layouts data and the share .dba files
- Site packages: 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.