Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
72:cms_configuration [2019/03/20 07:39] – [Common Configuration] tssr72:cms_configuration [2019/03/20 08:09] – [Common Configuration] tssr
Line 38: Line 38:
 </code> </code>
  
-As you can see, the root element of the CMS configuration is the **<cms>** element. +**<stages-config>**
-The configuration has to have one **<cms-type>** element for every content management system you want to support in your Stages application. The attribute __name__ of each **<cms-type>** is crucial for the system to work. Every CMS implementation has its own and unique __name__.+
  
-Right after the **<cms-type>** element you can define multiple **<cms-property>** elements, which affect the entire typeThese properties are called global properties. +The root XML element of the stages configuration file. The configuration for the content management systems has to be inserted inside this element. The CMS configuration is a child element of the <stages-config> element.
-The attribute __name__ identifies the property by its key. The __value__ attribute defines the value for that property.+
  
-Each **<cms-type>** element can contain several **<cms-host>** elements. +**<cms>**
-Every **<cms-host>** element has the following attributes: __ident__, __name__ and __displayName__.+
  
-The __ident__ of a **<cms-host>** has to be unique for this stages server. The __name__ attribute identifies the server name of the content management system. This name has to have a protocol and the host name (without any path e.g. /some/path). The display name of the host will be shown in the host dropdown selection field in the Stages Web-GUI.+This element holds all configuration data for the content management systems.
  
-Inside of a **<cms-host>** element you can define **<cms-property>** elements, which affect only the specific host. These properties are called host properties.+**<cms-type name="" >** 
 + 
 +The <cms-type> element represents the configuration for single content management system you want to support in your Stages application. 
 + 
 +  * __name__: The attribute "name" of each <cms-type> is crucial for the system to work. Every CMS implementation has its own and unique "name"
 + 
 +**<cms-property name="" value="" >** (Global Properties) 
 + 
 +Right inside the <cms-type> element you can define multiple <cms-property> elements, which affect the entire CMS type. These properties are called global properties. 
 + 
 +  * __name__: The attribute "name" identifies the property by its key. 
 +  * __value__: The "value" attribute defines the value for that property. 
 + 
 +**<cms-host ident="" name="" displayName="" >** 
 + 
 +A <cms-type> element can have several <cms-host> elements. 
 + 
 +  * __ident__: The "ident" of a <cms-host> is a simple string but has to be unique for the Stages server. 
 +  * __name__: The "name" attribute identifies the server by the URL of the content management system. Please note that this URL must contain the protocol, the server's host name (not its IP address), optionally a port number, and **NO** path elements (e.g. [[https://myhost:10443]]). 
 +  * __displayName__: The display name of the host will be shown in the host dropdown selection field in the Stages application. 
 + 
 +**<cms-property name="" value="" >** (Host Properties) 
 + 
 +Inside a <cms-host> element you can define <cms-property> elements, which affect only the specific host. These properties are called host properties.
  
 ==== Subversion ==== ==== Subversion ====