TMENUITEM
Warning
This TypoScript object is still available to provide backward compatibility for old sites. When creating a new menu or refactoring an existing one always use the menu data processor and a Fluid template.
For examples on how to use the TMENUITEM please refer to old version of this document, for example 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 | | | |
| string | ||
| stdWrap |
allWrap
allWrap
wrapItemAndSub
wrapItemAndSub
subst_elementUid
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
before
-
- Type
- HTML / stdWrap
beforeWrap
beforeWrap
after
after
-
- Type
- HTML / stdWrap
afterWrap
afterWrap
linkWrap
linkWrap
-
- Type
- Wrap
stdWrap
stdWrap
-
- Type
- stdWrap
stdWrap to the link text.
ATagBeforeWrap
ATagBeforeWrap
-
- Type
- boolean
- Default
- 0 (false)
If set, the link is first wrapped with *.linkWrap* and then the
<a>tag.
ATagParams
ATagParams
-
- Type
- <A>-params / stdWrap
Additional parameters
ATagTitle
ATagTitle
additionalParams
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
doNotLinkIt
doNotShowLink
doNotShowLink
stdWrap2
stdWrap2
altTarget
altTarget
-
- Type
- string
Alternative target overriding the target property of the ref:
TMENU <tmenu>, if set.
allStdWrap
allStdWrap
-
- Type
- stdWrap
stdWrap of the whole item.