Page Types
Test Your Knowledge
- Install the Blog add-on.
- Create a new page type.
- Name it “My Blog Page Type” and save the page type.
Task: Adding an application to the page type
- Edit “My Blog Page Type”.
- Add the Blog application to the page type and save the page type.
Task: Adding default content to the page type
- Edit “My Blog Page Type”.
- Add a placeholder content item to the page type.
- Add the Composite.Community.Blog.BlogRenderer function to the default content.
- Save the placeholder content.
Task: Creating a page based on the page type
- Create a page.
- Select “My Blog Page Type”.
- Save the page.
- Check for the Blog application added to the page.
- Check for the Blog function added to the page.
Task: Limiting the use of page types
- Edit “My Blog Page Type”.
- Limit the use of the page type to subpages only and save the page type.
- Create a homepage.
- Try to select “My Blog Page Type”.
- Create a subpage.
- Select “My Blog Page Type”.