We explain how to configure
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 .content/.config
file based in the sub-sitemap.
The sitemap configuration offers 4 tabs:
Defines a resource type‘s name and name pattern, default folder, formatter (optional) and more.
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.
Defines which properties get displayed under "Basic Properties" tab for the property dialog in ADE.
Defines detail pages used for specified resource type in the sitemap.
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 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:
Defines a resource type‘s name and name pattern, default folder, formatter and more.
Defines which properties get displayed under "Basic Properties" tab for the property dialog in ADE.
Defines a dynamic function that is shipped with the module. (A name for identification and a JSP provider is required at least.)