Creating page lists
Section pages
This block contains the list of all pages for the selected section.
- Using the block
-
{{tree for="pageAddress" 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"}}
Setting parameters for the
{{tree}}
block is optional. The example only lists default values. - Block parameters (optional)
-
- for
-
The address of the page the tree is intended for.
- page
- Alternative name (alias) for the
for
parameter. - depth
- Tree depth. Setting this to
0
makes the depth unlimited. - show_redirects
-
Display behavior for redirects in trees:
true
— Include redirects in the tree.false
— Don't include redirects in the tree.
- show_grids
-
Display behavior for dynamic tables in trees:
true
— Include dynamic tables in the tree.false
— Don't include dynamic tables in the tree.
- show_files
-
Display behavior for attached files in trees:
true
— Include files in the tree.false
— Don't include files in the tree.
- show_owners
-
Display behavior for page authors:
true
— Show authors.false
— Don't show authors.
- show_titles
-
Display behavior for page headings:
true
— Display headings.false
— Don't display headings.
- show_created_at
-
Display behavior for page creation dates.
true
— Display dates.false
— Don't display dates.
- show_modified_at
-
Display behavior for page updates.
true
— Display dates.false
— Don't display dates.
- sort_by
-
Sort pages by:
title
— Headings.cluster
— Sections.created_at
— Creation date.modified_at
— Last update.
- sort
-
Sorting order:
asc
— Ascending.desc
— Descending.
List of pages linking to a specified page
This block contains the list of all pages with links to a specified page.
- Using the block
-
{{backLinks for="pageAddress"}}
- Block parameters
-
- for
-
Optional parameter. Contains the address of the page the list is intended for. If no parameter is set, a list for the current page is created by default.
Data type: string.
Pages created by me
This block contains the list of all pages created by the user.
- Using the block
-
{{mypages}}
Setting parameters for the
{{mypages}}
block is optional. If no parameters are set, the list of pages created by the user currently reading the list is displayed. Pages are displayed in alphabetical order. - Block parameters
-
- user
-
You can display the list of pages created by any user by specifying that user's login in the
user
parameter. - bydate
-
Sorts pages by creation date:
1
— Enable.0
— Disable.
- bychange
-
Sort pages by last update:
1
— Enable.0
— Disable.
For example, if you want to display a list of pages created by
username
and sort them by the date of their last update, configure this block:{{mypages bychange=1 user="username"}}