Directory menu - menu of subpages

A HMENU of type special = directory lets you create a menu listing the subpages of one or more parent pages.

The parent pages are defined in the property special.value.

This menu type can be used, for example, to display all subpages of a certain page as meta menu or footer menu.

Mount pages are supported.

Properties

special.value

Property

special.value

Data type

list of page ids /stdWrap

Default

current page id

Description

This will generate a menu of all pages with pid = 35 and pid = 56.

EXT:site_package/Configuration/TypoScript/setup.typoscript
lib.metaMenu = HMENU
lib.metaMenu {
   special = directory
   special.value = 35, 56
   // render the menu
}

[tsref:(cObject).HMENU.special = directory]

Example