Reference library

Article number: 301654
Last updated: 02 October 2015

Front end page options

As well as adding data to the post type you also need to create pages for these to display on the site. This is achieved by creating a new page and setting its content type in page properties to the relevant post type as shown below:

page properties

For the purposes of the example we've created the following navigation structure:

post tree

Most of the pages provide options for display allowing you to choose between particular calendar views (for date based data) or A to Z's and list for other data. It allows you to choose the field used for A to Z indexing and for filtering in calendars. Most post pages provide an initial view (the calendar or list) and then an option to click through to get to the details of a specific post. Both the list views and the details view appearance is governed by default XSL transforms however these can be overwritten in the page below to provide greater flexibility in the display output. As you can see paging, categorisation and faceting can also be added via the page editor

edit page

Output page examples

This is a list page example based on the locations post type:


This is a calendar page based on the recurring review post type. The  is achieved via the standard calendar post XSL but could also be done via the calendar page type with the data still coming from posts. This also shows a configurable filtering option:

recurrence calendar

The location details page, this has been overridden with a local XSL to provide the map output. Notice that it automatically contains a link through to a related room type 'Cambridge conference room':

locations details

Similarly the course details page below provides automatic cross references to the associated Trainers, Modules and the pre-requisite course. It also displays downloads that have been associated with that post:

course details

Alternate display options include an  A to Z by field name:


Or an A to Z by Tag name (10.4):


And faceting of results via a posts associated post types. In the example below the counts of the relevant numbers of courses are provided alongside the facet option.


Posts are also returned in indexed search results:

search results

The final page in this introduction to posts describes how to extend posts, their API and also the provision of front end population.

Related questions

This article was last updated on 02 October 2015. Did you find it helpful?