Pages

IntroductionTop of Page

Returns pages from one given parent page.

Tag attributes

All these <ion:pages /> tag attribute are optional.

AttributeValuesFrom versionExample
parent

Parent page's ID or Parent page's code.

From 1.0.6 :
parent="this" returns the current page sub pages.

1.0.x

<ion:pages parent="news">
...
</ion:pages>

From 1.0.6 :
<ion:pages parent="this">
...
</ion:pages>
mode 'tree' : Returns the pages tree
'flat' : Returns only child page from parent (default)

<ion:pages mode="tree">
...
</ion:pages>
menu Menu code from which get the pages 1.0.5
<ion:pages menu="archives">
...
</ion:pages>
levels Integer
Limit the returned page to pages with a level <= to the asked level.
1.0.5
<ion:pages level="2">
...
</ion:pages>
display_hidden If set to true, includes pages which are not in the navigation menu 1.0.6
<ion:pages display_hidden="true">
...
</ion:pages>
limit Limit to the first x pages 1.0.6
<ion:pages limit="3">
...
</ion:pages>