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).

 add a page from the CMS

CWP specific page types

Events Page

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.

example event with related tags and dates

Event details include tags and dates

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:

  • Events are sorted by date, descending (most recent on the top).
  • The sidebar shows the taxonomy terms associated with underlying events.
  • Months (and years) for which events are scheduled can be navigated.

event holder site tree structure

The site tree structure of an Event Holder and Events 

event holder website example with archive dates and tags

Event Holder page type appearance to site visitors

News Page

You can create News Pages and News Holder pages in a similar way to the event pages described above. The differences are:

  • NewsPage has an Author field. This is displayed on the listing page and the news page.
  • NewsPage has a Featured Image field. This is displayed as a thumbnail on the listing page and on the top right of the news page.
  • NewsPage doesn't have Start TimeEnd Time or Location fields.

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.

site tree structure of the footer holder

Ensure that the URL Segment of the Footer Holder is concise as the text in this field will show within the footer page links.

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.

redirect page in the footer holder

Home 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.

watea theme homepage with carousel

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:

  • Title
  • Content
  • Background image—Note that the image will have an opaque mask on top of the image, this is to ensure there is enough contrast for white text on lighter images. It is recommended to use image resolutions between 1600px by 900px and 2000px by 1200px to ensure enough quality for the images to look good, but not too big that pages take too long to load.
  • Button and/or link—You can add a button or link to content on your site.

 

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:

  • Name—text that will appear in the list to describe the link.
  • Internal link—a page within your site that the link will point to.
  • External link—a URL external to your site.

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

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:

  • Feature title
  • Content area
  • Button text—text to display on the button, if it is shown.
  • Button link—if set, a button is shown at the bottom of the panel linking to this page.

 

IFrame Page

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.

 

Registry Page

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.

Sitemap Page

In the Starter theme, this page displays a list of all pages on your site. It requires no customisation.

Subsites Virtual Page

This is just like a VirtualPage (see below), but can also display content from a page on another subsite.

User Defined Form Page

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.

Virtual Page

Similar to a VirtualPage, but can also display content from a page on another subsite.

Last modified: