Once you created a content type, you can edit its properties, fields, and the hierarchy between content types.
If your module has more than one content type, you can have either a flat structure – all content types are on one level, or you can have hierarchy, some content types are parents of other content types. You choose the parent of a content type when you create it, but you can change this parent when you edit the content type.
To edit a content type, create a new content, or change the hierarchy of your content types, perform the following:
NOTE: If you want to change the identifier of the module, you must also update the grid, displaying the content items. For more information, see Change the identifier of a content type
If you have changed the parent type of a content type, the system cannot map all the items of this type with respective parent items of the new parent type. You have to make this mapping manually. For this purpose, the system automatically creates an item in the parent content type, named Moved items. This item, by default becomes a parent item of all items of the content type that you have moved.
EXAMPLE: If you have two content types – Blogs and Blog posts, which are both at top level. You have created a couple of blogs and some blog posts. Later, you decide that you want to make Blog posts a child content type of Blogs, meaning each blog will have its own blog posts. You open Blog posts content type for editing and you select as parent Blogs. The system moves all created blog posts under the Blogs content type, but it does not know which blog post will belong to which blog. Therefore, the Moved items item is created and it becomes a parent of all blog posts. If you open the Moved items item, you can see all blog posts and you can edit each blog post and assign it to a particular blog, by changing its parent.
Back To Top