Use of individual content
At certain points in the privacy policy, editors can add and edit individual content, such as the contact details of the data protection officer or other texts.
To do this, a container is displayed in the page editor at the desired location, into which any content can be dragged and dropped. This can be content sections, organizations, people, or other content elements.
Use of links or macros in content sections
It is possible to set links to other pages in the content sections. However, if these links are to lead to other function detail pages of the current (sub)site, the link target must be entered in the form “opencms://function@...”. For example, to set a link to the data protection page, the link target is “opencms://function@Datenschutz”.
Macros can be used to customize text passages, e.g., where the name of the data protection officer must be displayed. These are resolved in such a way that the values are read from sitemap attributes. For example, to set the name of the data protection officer in the text with a macro, enter “%(attribute:policy.dataprotectionofficer.name)” in the text instead of the name.
In order for the macro to be resolved correctly, an attribute with the key “policy.dataprotectionofficer.name” must be configured in the sitemap configuration of the site where the construction kit is used, with the name of the data protection officer as its value.
You can use any macros you like, but you must ensure that values are always stored for them in the sitemap configurations.
Important: Macros are suitable as placeholders for names or other short terms. If longer individual content is to be displayed at specific points, container modules as described above must be used instead of macros.