Content types
Contents
A content type defines the fields and capabilities of a content item. Every item has exactly one content type.
When creating content, the New Content dialog lists the types available at the selected location. Availability depends on the applications assigned to the current project or enclosing site, as well as any restrictions on the parent item.
Built-in and custom types
Custom content types are supplied by applications and provide forms designed for a particular solution, such as an article, product, or event.
Built-in content types are supplied by Enonic XP for common purposes. This reference covers the built-in types editors work with in Content Studio:
-
Folder — grouping container with no data fields.
-
Shortcut — redirect to another content item.
-
Media — images, video, audio, documents, and other binary uploads.
-
Site — the root of a website; carries installed applications.
-
Fragment — reusable page component stored as a content item; edits propagate everywhere referenced.
-
Page template — reusable component structure that can be applied to one or more content types.
Related concepts
A content type supplies the primary fields in the Content Form. A mixin can add reusable fields without defining another content type, while a page can add an optional component structure without changing the content type. Site, Fragment, and Page template are themselves built-in content types that support page composition.
For the underlying schemas and application-side definitions, see the Enonic CMS content type reference.
Folder
Folder is the simplest content type. Inspired by a traditional file syste, it has no type-specific fields and is used to organize child content in the content tree.
Folders still have the standard properties and editorial features of content, including a display name, path, permissions, workflow state, and version history. A Folder can also have mixins, or a page when page components are available at its location.