Skip to content

Pages Module

Documentation > Modules > Pages Module

This module is deprecated. Use the ListPages module instead.

Description

The Pages module is able to list pages within a site or within a category.

Attributes

attributerequiredallowed valuesdefaultdescription
categorynoname of an existing categorynonelimits the listing to the specified category
detailsno"true"noneprint extra information about pages
previewno"true"noneprints a short preview of the page(This parameter is temporarily ignored due to performance reasons. It will come back soon)
ordernodateCreatedDesc/dateCreatedAsc/dateEditedDesc/dateEditedAsc/titleDesc/titleAsctitleAscselects ordering of the pages
limitnoany positive integernonehow many pages to return; if you omit this all pages will be listed

Examples

Print only pages from the _default category with details:

[[module Pages category="_default" details="true"]]

Print all pages with details and preview:

[[module Pages details="true" preview="true"]]

10 most recently edited pages

[[module Pages order="dateEditedDesc" limit="10"]]

10 most recently created pages

[[module Pages order="dateCreatedDesc" limit="10"]]