This section provides information about the
Content Types in
Content Type is the structure or blueprint of a page or a section that your Web Page will display. It lets you define the overall schema of this blueprint by adding fields and setting its properties. Content Type is a pre-defined collection of data types (Fields).
In essence, creating a content type is like creating a mold or cast that lets you create several objects (entries) of the same nature and pattern. Content types, however, should be created after you model your content appropriately.
Here is the structure of a “Blog” Content Type that has a “Title,” “Thumbnail Image,” “Content,” and “SEO Meta Tags” fields. Once this content type is ready, you can create an entry for it.
If you create
Content Types, you will continue on to
Content Structure page where you can determine what information you wish to collect. This creates a form which they can complete and when saved will display the information on your Frontend site.
Add a new field
You can drag the fields from
Content Fields to
Content Structure Page. Enter the name for the field. You can only use numbers, lower-case letters and the underscore character (_).
In the field type list, select one of the following types:
- Entry: After you define a content type, you can add data to your content type by creating an entry.
- Fields: These are the building blocks/component of your structured content. You can control which data you want to add by configuring fields and its properties in a content type.
- If you want to create a simple blog page on your site, you will define a “Blog” content type that has “title,” “date,” and “body” fields.
- If you want to create the homepage of your site, you will define a “Pages” content type that has “header,” “footer,” “banner-image,” “title,” and “body” fields.
- CMS allows you to customize a content type to meet your requirements. If you want to create a Content Type for your webpage(s), you can define the content types in seeds.
- You can divide the fields in to different groups.
These fields can be managed from "Content Types" sections.
Templates can be used to specify which Content Types will be allowed in different areas on a Page. You can add some fields that means that fields are template specific and will be shown when you select that Template
In Pages, they have a different different structures, and we can't create different content types for each page. So in that case, we use other groups of field called Templates. Templates can be create through seeds.
Contents will be fetch on frontend by two Codes:
By Content Field
By Template name
You have to paste these codes in Web Pages.