Attention
TYPO3 v12 has reached end-of-life as of April 30th 2026 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here: TYPO3 ELTS.
TMENUITEM
The current record is the page record of the menu item. If you would
like to get data from the current menu item's page record, use
std.
Properties
| Name | Type | Default |
|---|---|---|
| wrap / stdWrap | ||
| wrap / stdWrap | ||
| boolean | 0 (false) | |
| HTML / stdWrap | ||
| wrap | ||
| HTML / stdWrap | ||
| wrap | ||
| wrap | ||
| stdWrap | ||
| boolean | 0 (false) | |
| <A>-params / stdWrap | ||
| string / stdWrap | ||
| string / stdWrap | ||
| boolean / stdWrap | 0 | |
| boolean / stdWrap | 0 | |
| wrap / stdWrap | | | |
| target | ||
| stdWrap |
allWrap
wrapItemAndSub
subst_elementUid
-
- Type
- boolean
- Default
- 0 (false)
If set, all appearances of the string '{elementUid}' in the HTML code of the element (after wrapped in .allWrap) are substituted with the UID number of the menu item.
This is useful, if you want to insert an identification code in the HTML in order to manipulate properties with JavaScript.
before
-
- Type
- HTML / stdWrap
beforeWrap
after
-
- Type
- HTML / stdWrap
afterWrap
linkWrap
-
- Type
- wrap
stdWrap
-
- Type
- stdWrap
stdWrap to the link text.
ATagBeforeWrap
-
- Type
- boolean
- Default
- 0 (false)
If set, the link is first wrapped with *.linkWrap* and then the
<a>tag.
ATagParams
-
- Type
- <A>-params / stdWrap
Additional parameters
Example: :
EXT:site_package/Configuration/TypoScript/setup.typoscriptATagParams = class="board"Copied!
ATagTitle
-
Allows you to specify the "title" attribute of the
<a>tag around the menu item.Example: :
EXT:site_package/Configuration/TypoScript/setup.typoscriptATagTitle.field = abstract // descriptionCopied!This would use the abstract or description field for the
<a title="">attribute.
additionalParams
-
Define parameters that are added to the end of the URL. This must be code ready to insert after the last parameter.
For details, see typolink->additionalParams.
doNotLinkIt
doNotShowLink
stdWrap2
altTarget
-
- Type
- target
Alternative target overriding the target property of the ref:
TMENU <tmenu>, if set.
allStdWrap
-
- Type
- stdWrap
stdWrap of the whole item.