level:1
Gets the current level in the rootline.
levelfield:<position>,<fieldname>[,slide]
<position> position in rootline Examples: 0: Level 0 1: Level 1 etc -1: The Level of this Page -2: One Level Up etc <fieldname> name of a field of table pages. (see notes) “ , slide” parameter forces a walk to the bottom of the rootline until there’s a “true” value to return.
- Get the subtitle of
10 = TEXT
10.data = levelfield : -1 , subtitle , slide
Notes: In order to enable a field for sliding add the following to you typo3conf/localconf.php
- enable fields subtitle and nav_title for sliding in levelfield
$TYPO3_CONF_VARS['FE']['addRootLineFields'] = ',subtitle,nav_title';