Working with pages


This section is about how to work with pages from the developers point of view. We'll take a look at how to create page templates, connect them with the views and controllers of the application and the data available through the Page model when implementing the views.

If you are interrested in how to manage content and create, or work with pages, please refer to the page Pages under the Content section.

Page types

Pages in Piranha CMS are built around page types. In this article we'll take a look at how to create new and manage existing page types.


Written by: Håkan Edling. Last updated: 2013-07-06 Read more

Page model

The page model is the default model for all page templates and exposes the meta-data, regions, properties and attachments. In this article we'll examine the different parts of the page model and how to use them in you application.


Written by: Håkan Edling. Last updated: 2013-06-01 Read more

Regions

Regions are the building blocks of pages and define the different types of content your can add to a page. In this article we'll look at the default regions included with Piranha CMS.