Page Meta Types
Use page metadata on specific pages or website sections
Page meta types represent flexible metadata structures assigned to a page or a section of the website as metadata fields.
You can add data to page meta fields only if they have been added to a page. When adding metadata fields, you can choose to add them to child pages of different levels, too, thus adding them to an entire section of the website.
Creating a meta type is no different from creating other data types (global data types, or page data folders). The fields defined in the meta type will become meta fields you will add as a group to a page / sub pages.
When added, the metadata fields appear on a new tab in the page editor - "Metadata". The tab will not appear if no meta data fields are added to a page / sub pages.
By setting and using the values in the metadata fields on a page, you can control the behavior of the page as well as manage its content.
Creating a page meta type
To create a page meta type, you need to have access to the "Data" perspective.
- From the "Data" perspective, select "Page Metatypes" and click "Add Metatype" on the toolbar. A data type editor opens.
- On the "Settings" tab, specify the page meta type's properties and, where needed, check the options. (For the data type's properties and options, please see "General Properties of Data Types".)
- On the "Fields" tab, add as many fields as you need and specify its basic and advanced properties on the corresponding tabs. (For the data type's properties and options, please see "Basic Field Properties" and "Advanced Field Properties".)
- Save the meta type.
Note. The page meta type has no "Is localizable data" option. It is always localizable because it is closely associated with CMS Pages, which are always localizable, too.
Linking a page data folder to a page
To able to use metadata fields, you need to add them to a page as a group in the "Content" perspective and select their inheritance options:
- From the "Content" perspective, expand "Websites" and then pages to locate the page where you want to add the meta fields.
- Right-click the page and select "Add Metadata Field" in the context menu.
- In the window that appears, select the meta type to add to the page and click "Next".
- In the next step, set the following properties and click "Next":
- Name: A name that uniquely identifies the metadata field group to be added.
- Label: A user-friendly name for the metadata field group.
- Tab: The metadata tab in the page editor to add metadata fields to. By default, there is only one tab available: "Metadata".
- Start displaying from: The page to add metadata fields to. By default, this is the current page, but you can also choose to start adding the metadata fields to child pages of 1st through 5th generation.
- Inherit displaying: A list of options for inheriting the metadata fields on child pages. You can choose between "always inherit" and "never inherit" as well as inherit 1st through 3rd generation of child pages.
- In the next step, fill out the meta fields with values which will be added by default to the select page and, if opted for, - child pages.
Later, you can edit any page with the meta fields and change the field values.
You can add more than one meta data field group to the same page.
Changing metadata on pages
To change metadata on a page:
- From the "Content" perspective, expand "Websites", then pages and to locate the page with the metadata fields.
- Edit this page and switch to the "Metadata" tab.
- Change the values in the corresponding fields of the metadata field group you need.
- Save or save and publish the page.