Page lists
Written by
Updated at December 11, 2023
Alert
Dynamic blocks work in dynamic tables and on pages created in the old editor.
You can add lists to your page:
Cluster pages
This block contains a list of all pages for the selected cluster.
Using the block
{{tree for="pageURL" nomark="0" depth="3" show_redirects="False" show_grids="True" show_files="False" show_owners="False" show_titles="True" show_created_at="False" show_modified_at="False" sort_by="title" sort="asc"}}
All parameters of the {{tree}}
block are optional. The example below shows the default parameter values.
Block parameters (optional)
Parameter | Description |
---|---|
for |
The address of the page the tree is intended for. |
page |
Alternative name (alias) for the for parameter. |
depth |
The depth of the tree. Setting this to 0 makes the depth unlimited. |
show_grids |
Displaying dynamic tables in the tree:true : Dynamic tables are included in the tree.false : Dynamic tables are not displayed in the tree. |
show_files |
Displaying attached files in the tree:true : Files are included in the tree.false : Files are not displayed in the tree. |
show_owners |
Displaying page authors:true : Authors are displayed.false : Authors are hidden. |
show_titles |
Displaying page titles:true : Page titles are displayed.false : Page titles are hidden. |
show_created_at |
Displaying page creation dates:true : Dates are displayed.false : Dates are hidden. |
show_modified_at |
Displaying the dates of page changes:true : Dates are displayed.false : Dates are hidden. |
sort_by |
Sort pages:title : By title.cluster : By cluster.created_at : By date created.modified_at : By date last modified. |
sort |
Sorting order:asc : Ascending.desc : Descending. |
List of pages linking to a specified page
The block contains a list of all pages that link to the specified page.
Using the block
{{backLinks for="pageURL"}}
Block parameters (optional)
Parameter | Description |
---|---|
for |
Contains the address of the page that the list is being built for. If this parameter is omitted, the list is built for the current page. |
Pages created by me
The block contains a list of pages that the user authored.
Using the block
{{mypages}}
For example, if you want to display a list of pages created by
username
and sort them by the date of their last update, set this block:{{mypages bychange=1 user="username"}}
All parameters of the {{mypages}}
block are optional. By default, the block displays the current user's list of pages. The pages are displayed in alphabetical order.
Block parameters (optional)
Parameter | Description |
---|---|
user |
You can display the list of pages created by any user. To do this, specify that user's login in the user parameter. |
bydate |
Sorting by creation date:1 : Enable.0 : Disable. |
bychange |
Sorting by date of change:1 : Enable.0 : Disable. |