you to create and maintain multiple sites from a single EE install • Expansion from EllisLab introduced in v1.6 and available for v2+ • Available with non-commercial ($79.95) and commercial ($199.95) EE licenses
license holder has to own all sites • All sites have to reside on the same server • Sub-domain/domain directories have to be able to access the main EE install directory
and members can be shared across all sites • Each site has its own system preferences and specialty templates • Fast and easy site duplication, with options for selective duplication • Extensions, modules and plug-ins can be shared across sites, with site-specific settings* • Money-saving
affect all sites. • If something goes wrong with an installation-wide asset, it can affect all the sites. • Be aware of extensions • Test carefully for scalability • Make sure you check licensing • Does it have site-specific settings or only global? • No automated way of exporting a site out of MSM DIBMMFOHFT
• Member groups • Add-ons • Find and replace Installation-wide resources Site-specific resources • Member group preferences • Specialty templates • Themes • Member profile templates
a centralized install for multiple sites? • Want a single control panel as a Super Admin, but still limit site access to other member groups? • Need to establish consistency in branding with shared templates for different sites? • Want to share content across sites and reduce redundancy? • Want to have independent forums, but with a shared member base?
/system/expressionengine/ directory /controllers/cp/sites.php /language/english/sites_lang.php /libraries/Sites.php /controllers/cp/sites.php /language/english/sites_lang.php /libraries/Sites.php Local Web server
You only get the chance to import during the creation process not during editing • Import = moves the data from your original site to the new site • Duplicate = copies the data and/or preferences from your original site to your new site
Templates > Template Manager 2. Choose/create template group that contains home page 3. Select “Edit Group” 4. Select checkbox for site home page 5. Update
Edit index.php • $assign_to_config[‘site_name’] = Site short name • $assign_to_config[‘cp_url’] = Site control panel • $assign_to_config[‘site_url’] = Site URL
with 3 global variables: • {site_id} = the site’s ID number • {site_label} = name of site in control panel • {site_short_name} = value used in code references
content from one site into another, use the site variable with the site short name as the value • site is available on all Channel and Comment tags, as well as RSS {exp:channel:entries site="default_site" ...}
also specify several sites with the site variable • Each site short name is listed, delimited with a pipe (|) • You can also exclude a site using not {exp:channel:entries site="default_site|blog" ...} {exp:channel:entries site="not blog" ...}
also use site short name with the orderby parameter • Add the site short name as a prefix to the field you want to order on orderby="blog:title|default_site:description"
embed a template from one site in a template from another by prefixing the template group/ template with the site short name {embed="default_site:global/nav"}
• Building a Sub-Folder Site in ExpressionEngine MSM http://www.designlitm.us/articles/building_a_sub- folder_site_in_expressionengine_msm/ • Splitting a Site out of an ExpressionEngine Multiple Site Manager Installation* http://www.train-ee.com/courseware/free-tutorials/comments/splitting-a- site-out-of-an-ee-msm-installation/