Page Types

There are many different types of pages in SilverStripe, each with its own functionality and purpose. By now you already know how to create a basic page. It is also possible to change a page from one page type to another. 

Different page types and their functions 

Basic pages

 

  • Page - The most basic page type. It contains content, and has no customised functionality or special purpose. Most pages you create on your site will be of this type.

  • Product Page - A page that shows one single product

  • Product Category Page - A page that showcases one category with the products you have linked to the specific category

  • Categories Page - A page that has as many categories as you want to show.

  • Home Page - The Home Page behaves like any other page, with the exception that it is the home page for your site - what users will see first if they browse directly to the root of your domain.

  • Category Tree Page - A page that can have as many categories and products as you want to show.

  • Error Page - The page displayed when an error is produced by the website. Error pages can be created for individual error types, so for example, a 404 "Page not found" can look different from a 403 "Forbidden" page.

  • Redirector to another page - This page on the website redirects the user to either another page on the same website, or a page on an external website.

  • Virtual Page - A virtual page uses the content of another page. This is different from a redirector, as a redirector essentially links one location on the website to another, while a virtual page copies the content of the other page. Editing the page the virtual page is based on will, in turn, edit the copied virtual page. 

Other types of pages

  • Blog Holders and Blog Entries - See the "Blogs" section.
  • User Defined Forms - See the Forms section 

Changing an existing page type

To change a page type, look in the Pages pane for the page you wish to change. 

Screen Shot 2014 07 10 at 10.23.08 am

 

 

Click on it, and head to the "Settings" tab in the editing pane. You can change the page type from the "Page type" drop-down menu. Save your changes by pressing "Save Draft" or "Save & Publish" in the actions menu at the bottom of the editing pane. 

Screen Shot 2014 07 10 at 10.24.31 am