Introduction
The Bitrix Site Manager 4.0 enables the creation and maintenance of
an unlimited number of sites using a single
installation of the product.
After the Bitrix Site Manager 4.0 has been released, developers
gained possibility
to create and maintain
an unlimited number of sites using a single
installation of the product.
A synonym of the term installation of the product is portal.
Portal consists of one or more sites.
Strictly speaking, site is an aggregate of the following notions:
- database account - created in the Sites administrative
menu. Includes the following main parameters:
- identifier - a set of symbols which identifies a site;
- domain name - one or more
domain names of a site;
- site folder - path to the folder containing the site public
section;
- site language;
- date format;
- time format;
- URL - default protocol and domain name (e.g. "http://www.site.com");
-
DocumentRoot - if multiple
sites architecture is implemented using the method
2, this parameter should contain the server file system path
to the site root;
- template inclusion conditions - each site may have one or more templates
used to display the public
section; each template may be included using a
condition.
- public section - a set of scripts (pages) which belongs to this
site and are stored in the site folder;
- settings - each module may have site related preferences; for
example: the Information Blocks module settings are relations between
blocks and sites; the Techsupport module settings are associations
between status, categories etc. and sites.
Note!
In the public section,
the current site ID is to be stored in the constant SITE_ID.
In this section
- Multiple sites - ways to organize
multiple sites.
- Site templates - outlines the structure
of a site template and methods that can be used to connect it to a site.