Content Type models
Edition |
Incubator (services) |
||
Issues |
|||
Git |
|||
Latest |
1.0.3
|
The Content Type Models Module provides an app to visually create content types that will automatically register in the system together with the repository and the app to enter content.
This module is at the INCUBATOR level. |
Installing with Maven
Maven is the easiest way to install the module. Add the following to your bundle:
<dependency>
<groupId>info.magnolia.module.contenttype.models</groupId>
<artifactId>content-type-models-app</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-services-license</artifactId>
<version>SERVICE_LICENSE_VERSION</version>
</dependency>
Usage
Once installed, the system will display an additional application, open the application and start creating content types. New content types are registered in the resources workspace as yaml files, following the standard configuration here, content types can be published as regular nodes and they will be registered in the public, just the content type, not the app since the content is entered on author. Content types can be deleted if unpublished, and the app and repository will be deleted as well.
Content type creation
On Add new Item action, the Details app opens and you can start adding properties to the content type, content type can contain submodels used allow to organise the content in blocks, to be able to use a recently created submodes, submodels need to be used in the content type properties as a new property of type reference/submodel.