Form control: Site tree page picker
The siteTreePagePicker
control allows you to select pages from the site tree. It is a customized extension of the object picker control.
Arguments
multiple (optional) | True or false (default). Whether or not multiple pages can be selected. |
---|---|
sortable (optional) | True or false (default). Whether or not multiple selected pages are sortable within the control's interface. |
childPage (optional) | ID of the child page with which to restrict the list of selectable pages. If supplied, only pages that can be a _parent_ of the child page will be shown in the control. |
Example
<field name="pages" control="sitetreePagePicker" multiple="true" sortable="true" />