For each resource type, its appearance in the ADE views, in particular in the page editor, can be configured in the module and the sitemap configuration. In the module configuration, you can choose a kind of default setting that can be overwritten for your sitemap via the sitemap configuration.

We describe the different options available for resource types.

What is the resource type configuration for?

Dependent on your website or a subsite of your website, different resource types (also called content types) may be of interest. For example, you may have a subsite for job offers and a special content type for job offers. To allow adding job offer contents only in the subsite, you can configure that such contents are only displayed in the add wizard of the page editor when you are in the subsite.

Besides the visibility of content types, it may also be of interest where you store contents, e.g., if you want a list of all job offers you can choose to collect only offers from a special folder.

Moreover, you can select element views where a resource type should be displayed in. Thus you can control which users can add, edit or move elements of which resource type and which elements should be edited in which view.

A correct reource type configuration in your module let's you expose resource types exactly as you want. A suitable configuration of resource types for a sitemap eases editing content because you can restrict the available resource types to the really relevant types and, if still too confusing, group them in different views.

Resource type configuration

In module and sitemap configurations, you can configure ADE related options for each resource type. Figure [resourcetype_configuration] shows the configuration options for one resource type.

Fig. [resourcetype_configuration]: Configuration options for one resource type as shown in the form-based editor
Resource type configuration options
Type name

Select the resource type you want to configure.


Set "Disabled" to "False" to enable using the content type, i.e., allow adding new and existing contents of that type. Set it to "True" to disable the content type (do not show it in the add wizard or show content). Set it to "Adding disabled" if you do not want to allow adding new contents of a type, but allow editing existing contents (that could, for example, be given via model pages).


Choose in which folder the content should be stored. Here you can either choose an absolute path or just a folder name. If you choose the folder name, the content will be placed in a subfolder of .content/ with the given name. If, in a sitemap configuration, you choose "Local contents", the sitemap's local .content/ folder will be used, otherwise a .content/ folder an above sitemap. By default, content is stored in a subfolder {resource type name}/ of the .content/ folder.

Name pattern

The name pattern to be used if new content of the specified resource type is added to a page. A typical pattern has the format {prefix}_%(number).xml. Be sure to use the %(number) macro to guarantee distinct names for all contents in a folder. The default name pattern is {resource type name}_%(number).xml.

Detail pages disabled

The add wizard of the sitemap editor has a tab "Detail pages" where you can add detail pages for resource types. If you check "Disable detail pages", a page for the resource type will not appear.

Element view

Resource types can be grouped in element views. Elements of a type can only be added, edited or removed from a page if the specific view is chosen. Otherwise, for all elements of the type, neither edit points are shown, nor are the types visible in the add wizard. Element views can be used to separate tasks or to control access to resource types. Read more about them here. By default, the "Default" element view is chosen.

2.1 Special settings for the sitemap

In a sitemap configuration, additionally to the configuration of single resource types, some settings that influence the configuration of all resource types are available.

Sitemap specific resource type configuration options
Disable all

Disables all resource types configured via module configurations or parent sitemaps. In consequence, only resource types explicitely configured in the sitemap will be available.

Local contents

If checked, a local .content/ folder is created and, whenever as "Folder" in a resource type configuration only a name is chosen, the resources will be stored locally in a subfolder of the .content/ folder. If the option is not checked, the .content/ folder of a parent sitemap or the site will be used.

Prefer detail pages

If you link to a content that is stored locally in the sitemap and your sitemap has a detail page for contents of that type configured, then this detail page will be preferred over a detail page that might be configured for the calling (sub-)site, i.e., the (sub-)site where the link to the content is placed. If the option is not checked, the detail page from the "calling (sub)site" will be preferred.

The feature only works for content that is stored locally in a folder under the (sub-)sites main folder.