Your SilverStripe site comes with a wide variety of different page types that you can use:
This page describes each page type, how to use it, and extra information you need to know to get the most out of it.
This is the standard content page, used for all pages that have no other requirements. Note that it comes with extra features such as being able to add related pages and tags from a taxonomy.
This is a special page that is only shown to users when they have encountered the specific error that the page is set up to respond do. Your site comes with the two standard errors pages already created for you - one for "Page not found" (404 error) and one for "Server error" (500 error).
When you create an ErrorPage you set the error code in the Error code dropdown. You can find a fuller explanation of HTTP error codes atWikipedia (external link) .
You can create specialised pages to allow website visitors to view individual events (Event Pages) and event listings (Event Holders).
To create a page to display information for an event, add a new page of the type Event Page. In addition to the fields available on other pages, this page type allows you to specify the date and time of the event. These details will be displayed on the template along with any taxonomy terms you associate with the page. For more information see the taxonomy page (external link) .
The events must be listed in a structured way to allow visitors to easily browse them. This is acheived with an Event Holder which contains the Event Pages. Any number of Event Holders can be created, each with its own set of events.
The events listing for the above events holder and pages is shown below and includes the following features:
You can create News Pages and News Holder pages in a similar way to the event pages described above. The differences are:
The front-end navigation is handled in exactly the same way.
This page displays all of its child pages as links in the footer. By default they are not shown in the main navigation. Note that this functionality only exists in the default theme, this may not work in a custom theme.
Locate the pages for which you require footer links beneath the Footer Holder. The holder may need to be created at the top level of your site tree if it does not already exist.
If you have a page elsewhere on your site that you require footer links for but you do not wish to move this page to under the Footer Holder, you can create a Redirector Page which links to that page.
This is usually the first page that people will see when they visit your site. It contains a carousel in which you can feature parts of your site, a list of quicklinks, two feature sections and a news summary panel.
The carousel is made up of one or more carousel items. These can be viewed and edited in the Carousel tab. Each carousel item contains the following:
Quicklinks are a set of pages that are linked to from the homepage. In the default theme they are shown in the bottom left of the main content area. To add quicklinks, got to the Quicklinks tab when editing the homepage. Click on the Add Quicklink button. You will see the following fields:
As each quicklink can have only one link, if the external link is set it will be used regardless of whether or not the internal link is specified.
The features are two panels in the middle of the bottom of the main content area. You can edit them in the Features tab of the home page. Each has the following fields:
In the default theme the home page displays the two latest news items on the homepage.
An iframe page type is bundled for easy embedding of external resources. It has the following settings:
In addition, three content areas are supplied:
When a user visits this page they are redirected to either a page on your site or an external site. It is often used in menus when you want one page to be in two relevant places in the menu structure, such as sitting underneath a FooterHolder.
When you create a new page of this type you will see the radio button that lets you choose between A page on your website and Another website, and the dropdown to select the page or the text field to type in the external URL.
This page is used to allow your site users to browse a large set of data in an easy manner. For more information refer to the registry module (external link) documentation.
In the default theme this page displays a list of all pages on your site. It requires no customisation.
This is just like a VirtualPage (see below), but can also display content from a page on another subsite.
This page type displays a custom form that websites visitors can fill out and submit. It can email the submissions to a nominated recipient and stores them all in a database.
You can view more detailed information in the forms documentation (external link) .
This page type is similar to a RedirectorPage and is used to duplicate content from another page. Instead of linking to the other page like the RedirectorPage page, the VirtualPage displays the content from the linked page.