Search the documentation
 Show GitHub edit links  Hide GitHub edit links
In OpenCms since: 8.0 Documented since: 9.5 Latest revision for: 9.5 Valid for OpenCms: 10.5.2

We explain how to configure

  • the resource types shown in the "Add Content" dialog,
  • the model pages available,
  • the "Basic Properties" dialog,
  • the availability of detail pages,
  • the export of functions from a module

Sitemap configuration

The central place where the resource types available through ADE's Add Content dialog and other global settings are configured is the /.content/.config file. Settings for sub-sitemaps follow the same mechanism with the .content/.config file based in the sub-sitemap.

The sitemap configuration offers 4 tabs:

Resource types

Defines a resource type‘s name and name pattern, default folder, formatter (optional) and more.

Model pages

Defines template models to be used by the sitemap editor for generating new container pages. Most of the configuration is added when a new template model is added via the sitemap editor. Read more on template models here.

Property configuration

Defines which properties get displayed under the "Basic Properties" tab for the property dialog in the ADE.

Detail pages

Defines detail pages used for the specified resource type in the sitemap.

Module configuration

In case a module adds a new resource type (as defined in the module's manifest) to OpenCms and you want to make this automatically available to the ADE after the module is installed, you can place a .config file of the type module_config inside the root folder of your module.

The module configuration file offers three tabs:

Resource types

Defines a resource type‘s name and name pattern, default folder, formatter and more.

Property configuration

Defines which properties get displayed under the "Basic Properties" tab for the property dialog in the ADE.

Functions

Defines a dynamic function that is shipped with the module. (A name for identification and a JSP provider is required at least.)

Configuration inheritance

Fig. [configuration_inheritance]: Configuration inheritance

You can improve this page

Please contribute your suggestions or comments regarding this topic on our wiki. For support questions, please use the OpenCms mailing list or go for professional support.