Content Pages and Display Page Templates can display several types of content out-of-the-box:
- Web Content Article
- Document
- Blogs Entry
You can publish these content types in highly customizable ways using Page Fragments. You can use these page types to map fields of certain content (e.g., Web Content) to fields defined in a Page Fragment. Then you can publish the content on a page using the Page Fragment as a template. To see an example of how Display Page Templates work, see the Display Page Template Example. For more info on creating Content Pages, see the Building Content Pages article.
If you want to extend the Content Page or Display Page Template framework to support other content types, you must use the Info framework.
You must complete the following steps:
-
Provide basic information about your custom content type.
-
Provide your content type’s fields so they’re configurable in the Page Editor.
-
Provide friendly URLs for your page type.
-
Handle the information that the user is requesting.
As an example, you’ll step through how to provide this information to the Content Page and Display Page Template frameworks.
Continue on to begin!