Through CWP SilverStripe CMS offers a variety of page types, each with their own functionality and purpose specifically available for CWP installations.
To learn more about page types default to the CMS such as "Page" and "Error Page" refer to SilverStripe User Help(external link). This section uses screenshots from CWP themes (Starter and Wātea theme).
CWP specific page types
By using the Event Page you can create specialised pages to allow website visitors to view the details of events while Event Holders can be used to show a list of events.
To display event information, 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 your site along with any taxonomy terms(external link) (Often known as tags) you associate with the page.
Event Holder which contains a condensed view of events using the Event Page type. Any number of Event Holders can be created, each with its own set of events.
Some things to note about events:
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. If you choose to use the features it can contain a carousel in which you can promote 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 can contain the following:
Quicklinks are often used as a set of links which connects users to content which typically might be deeper within a site structure, and are used for easy access. In the Starter theme, they are displayed under the page utilities, bottom left of the main content area. On the Homepage, click the Add new button on the Quicklinks to add additional links.
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.
Feature sections are two content areas in the middle of the Homepage (when viewed on a desktop). You can edit them in the Features tab of the Homepage. Each has the following fields:
An iframe(external link) page type is bundled for easy embedding of external web content and resources such as graphs. When setting the sizes, test your changes with different browsers to see if everything fits correctly. Scrollbars will appear if the content of the iframed content extends past the given space.
It has the following settings:
IFrame URL—this is the resource URL to be included into the page. If you want the height auto setting to work, the supplied URL needs to be either relative or at least match the name of your site's domain.
Auto height—the web browser will attempt to set the height of the iframe automatically to match the height of the target content. This does not mean that the iframe will resize dynamically to respond to content changes.
Auto width—the web browser will fill the available horizontal space. This is not tied in any way to the iframe content.
Fixed height—explicit size, used also as a fallback if auto setting fails.
Fixed width—explicit size.
In addition, three content areas are supplied:
The content above the iframe
The content below the iframe
Alternate content: used if the web browser does not support iframes, or refuses to handle them.
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 Starter 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 allows you to build a custom form that websites visitors can fill out and submit. It can email the submissions to a nominated recipient and stores the entries in the database.
Similar to a VirtualPage, but can also display content from a page on another subsite.