Skip to content

DocumentFolderComponent

Jens Kooij edited this page Mar 25, 2018 · 2 revisions

DocumentFolderComponent

Overview

The DocumentFolderComponent is used for retrieving a folder, as defined through the sitemap item.

Sitemap Compatible Application Compatible Parameters
true true documentFolderPath, documentFolderParameter

Parameters

documentFolderPath

Required

The parameter documentFolderPath sets the folder which the component will retrieve.

documentFolderParameter

[Optional]

By default documentFolderParameter is set to "folder", meaning that in the template the variable $folder contains the retrieved folder.

Example sitemap item

Title URL Regex Component Template Parameters
My page /my-page false DocumentFolderComponent base documentFolderPath: "pages/"
documentFolderParameter: "folder"

Parent

CachableBaseComponent

Clone this wiki locally