Creating a Plone Site

Creating a Plone Site

Creating a Plone Site

When Enfold Server is installed for the first time, a Plone site will be or created within the root level of the Zope Management Interface (ZMI). Afterwards, Enfold Proxy (EP) is used to map the Plone applications to the domain or host you are using. (This process is called proxying and you accomplish that by adding a proxy definition ).

This topic provides background about how Plone sites are created and how to create additional Plone sites to proxy to different domains.

The Zope Management Interface (ZMI) is the web-based administrative interface for the Zope object database upon which Plone rests. Site administrators can perform many administrative functions using the Plone control panel, but occasionally situations arise where you need to access the ZMI itself. For example, you may need to add a new Plone site or change a security permission or run a database script.

Having problems? Check the troubleshooting checklist or the common tasks in Enfold Proxy or the FAQ.

ZMI Application Root vs. ZMI

There are two contexts for accessing ZMI, and they vary both in security and scope.

First, there is application root. When you access the application root of the ZMI, you are permitted to add/modify/delete objects of one or more Plone sites. Typically, after initial installation, you can view application root by going to http://localhost:8080/manage. You can find the management port for your Zope Client:

  1. Enfold Server. Open Enfold Server Configuration Utility. (Start --> All Programs --> Enfold Server --> Enfold Server Configuration Utility). Expand the settings for the Zope client you are using (if more than one). Click on Ports in Use. Note the number corresponding to the Management Port (default is 8080) and be sure it is enabled.

  2. Plone (generic). Open the zope.conf file under (Plone install directory)/.../Client/etc/zope.conf . The port number will be listed on a line such as this:

    define ZOPE_MANAGEZODB_PORT 8080
    

The other context for viewing the ZMI is specific to a single Plone site. You can access it from Plone's control panel. From this context, you are able to change the settings only for one Plone site (and not the others).

How do you know if the ZMI web page is application root or a ZMI specific to a Plone site? These signs will indicate you are looking at application root:

  1. when you type in the host+port number (i.e., http://localhost:8080), you see the generic Zope page (usually)

  2. when you append the word "manage" to the URL (i.e., http://localhost:8080:manage), you will see

    1. a two panel interface, with Control Panel appearing at or near the top. (This will not appear in the context of an individual Plone site).
    2. you will not see various objects named "portal_" (this only appears in the context of the Plone site's ZMI).

Adding another Plone Site using the ZMI

Requirement: You must be in the application root of your ZMI and not within the context of another Plone site.

For this example, application root will be at http://localhost:8080.

One common reason for accessing the Application root of your ZMI is to add a Plone site (or even to delete one). When Enfold Server is initially installed, you will see an object called Plone at the application root (i.e., http://localhost:8080/Plone ). To create another Plone site, you need to add a new Plone Site object:

  1. Use the dropdown menu to Add a New Plone site. Give it a unique id (not "Plone" for example). For this example, give it the id "Plone2".
images/add_plonesite.png
  1. Check the application root of your ZMI to make sure the object called "Plone2" appears.
images/root_zmi.png
  1. Verify that you can access the new Plone site by going to http://localhost:8080/Plone2 . You should see a generic Plone site here.

Note: If you go to the URL for this site, it will look like a generic Plone site (and not include the customized bundle of Enfold products). When you first install Enfold Server, the default Plone instance will include these customizations. Plone sites which are created later will not include these products unless you manually add them. You can easily add these Enfold-specific products by going to the Plone Control Panel -- usually http://localhost:8080/Plone2/prefs_install_products_form (or the equivalent URL for your site).

The Enfold-branded customizations appear as products on the Plone install menu. You can add/install them manually. Products included in Enfold Server 3 which are developed/maintained by Enfold include: CMFPropertySets, Chasseur, EnfoldErrorReporting, EnfoldTheme, FileTemplate, ShellExServer, Plasma. Enfold Server 3 also contains open source products: CMFPropertySets, CMFSquidTool, Calendaring, Marshall, TextIndexNG2, PloneErrorReporting, PloneLanguageTool, PloneLockManager. Enfold Server 4 is expected to have a similar (if not identical) bundle of products.

  1. The next step is to use Enfold Proxy to map the "complicated URL" (such as http://localhost:8080/Plone2) to a simpler one (such as http://www.funsite1.com). To do that, you need to add a proxy definition (See adding a proxy definition ).

Guidelines for Setting Up ZMI Access

Before setting up a host for ZMI access, you should become familiar with general security concerns regarding ZMI access.