Page Tree
This widget allows you to select one or more pages from the site structure.
Options
| Key | Value | Description |
|---|---|---|
inputType | pageTree (string) | |
eval.multiple | bool | If true allows you to select several pages. |
eval.fieldType | string | Mandatory. Either 'checkbox' or 'radio' (for multiple). |
eval.isSortable | string | Allows you to sort the selected pages after making the selection (for multiple). |
Examples
A single page picker.
Allows you to select multiple pages and sort them afterwards.
Usage in Contao
The page tree widget is used very often in Contao. A few examples:
- Within the
navigationmodule it is used to set the optional reference page. - Within the
searchmodule it is used to set one ore more references pages to search through. - Within the settings of a news archive or calendar it is used to define the detail page of news and event records.
