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 |
-
subst_
¶element Uid -
- 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.
-
ATag
¶Before Wrap -
- Type
- boolean
- Default
- 0 (false)
If set, the link is first wrapped with *.linkWrap* and then the
<a>
tag.
-
ATag
¶Params -
- Type
- <A>-params / stdWrap
Additional parameters
Example: :
ATagParams = class="board"
Copied!
-
ATag
¶Title -
Allows you to specify the "title" attribute of the
<a>
tag around the menu item.Example: :
ATagTitle.field = abstract // description
Copied!This would use the abstract or description field for the
<a title="">
attribute.
-
additional
¶Params -
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.
-
do
¶Not Show Link -
If set, the text will not be shown at all (smart with spacers).
-
std
¶Wrap2 -
stdWrap to the total link text and
<a>
tag. (Notice that the plain default value passed to the stdWrap function is "|".)
-
alt
¶Target -
- Type
- target
Alternative target overriding the target property of the ref:
TMENU <tmenu>
, if set.