Installing packages
It is possible to install packages that are located under internal repositories. Note that this is not true for site packages and design packages. When you install a package, the system will create content classes and content objects, apply configuration settings and so on. Please note that from eZ publish 3.8, information about installed packages is stored in the "ezpackage" table within the database.
The following subsections explain how to install packages of different types.
Content class packages
The following example demonstrates how to install a content class package.
- Go to "Setup - Packages" in your administration interface, select the internal repository containing the package you wish to install and click the "Change repository" button. Find the desired package and click on its name. The system will display the package summary as shown in the following screenshot. Click the "Install" button.
- The system starts by showing a list of items that will be created during the package installation (look at the next screenshot).
The content class package installation wizard, step 1.
- If some of the classes being installed already exist, the system will ask the user how this installation conflict should be handled (as shown in the screenshot below).
The content class package installation wizard, step 2.
After clicking the "Continue" button, the system will install the package and display a summary.
Content object packages
The following example demonstrates how to install a content object package. (Since handling the class installation conflicts is already described in the previous subsection, let's suppose that no class definitions are included in the package that is being installed.)
- Go to "Setup - Packages" in your administration interface, select the internal repository containing the package you wish to install and click the "Change repository" button. Find the package you wish to install, click on its name and then click the "Install" button.
- If the package contains not only actual content objects but also templates related to these objects, the system will ask which siteaccess these templates should be added to (look at the next screenshot). Make your choice and click the "Next" button.
- The next dialog reveals where the installed objects will be located and allow to choose another location if needed.
The content object package installation wizard, step 3.
- If some of the objects being installed already exist (i.e. there is another object with the same remote_id), the system will ask how this installation conflict should be handled (see the screenshot below).
The content object package installation wizard, step 4.
Extension packages
The following example demonstrates how to install an extension package.
- Go to "Setup - Packages" in your administration interface, select the internal repository containing the package you wish to install and click the "Change repository" button. Find the package you wish to install, click on its name and then click the "Install" button.
- The system will show a list of items that will be created during the package installation (look at the next screenshot).
The extension package installation wizard, step 1.
- If some of the items being installed already exist, the system will ask how this installation conflict should be handled as shown in the screenshot below.
The extension package installation wizard, step 2.
Svitlana Shatokhina (16/06/2006 3:35 pm)
Svitlana Shatokhina (01/12/2006 2:54 pm)
Comments
There are no comments.