Line 1: Line 1:
In Open CSP you can add structured data to content pages by using class definitions. A class definition is a configuration for a specific type of page. For example you might have a "Person" class definition. On the class definition page you can configure that a person has parameters such as a first name, last name and date of birth. When a user creates a person page, they will have the option to fill these fields. You can also configure fields to be mandatory. The data is by default displayed in a sidebar on the right side of a page, but this layout can also be configured through the class definition.
+
In Open CSP you can add structured data to content pages by using class definitions. A class definition is a configuration for a specific type of page. For example you might have a "Person" class definition. On the class definition page you can configure that a person has parameters such as a first name, last name and date of birth. When a user creates a person page, they will have the option to fill these fields (or you could also configure them to be mandatory). The data is by default displayed in a sidebar on the right side of a page, but this layout can also be configured through the class definition. Managing class definitions is typically done by administrators, while users can create content pages with the defined classes. Data is stored in slots, so that users can edit the main content of a page in the same way as you would edit any wiki page.

Revision as of 11:17, 5 October 2023

In Open CSP you can add structured data to content pages by using class definitions. A class definition is a configuration for a specific type of page. For example you might have a "Person" class definition. On the class definition page you can configure that a person has parameters such as a first name, last name and date of birth. When a user creates a person page, they will have the option to fill these fields (or you could also configure them to be mandatory). The data is by default displayed in a sidebar on the right side of a page, but this layout can also be configured through the class definition. Managing class definitions is typically done by administrators, while users can create content pages with the defined classes. Data is stored in slots, so that users can edit the main content of a page in the same way as you would edit any wiki page.