TMENUITEM¶
The current record is the page-record of the menu item. Now, if you would like to get data from the current menu item's page record, use stdWrap.data = field : [field name].
Property
wrapItemAndSub
Data type
wrap /stdWrap
Description
Wraps the whole item and any submenu concatenated to it.
Property
subst_elementUid
Data type
boolean
Default
0 (false)
Description
If set, all appearances of the string '{elementUid}' in the total element HTML code (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.
Property
beforeWrap
Data type
wrap
Description
wrap around the ".before"-code
Property
afterWrap
Data type
wrap
Description
wrap around the ".after"-code
Property
linkWrap
Data type
wrap
Property
stdWrap
Data type
->stdWrap
Description
stdWrap to the link-text!
Property
ATagBeforeWrap
Data type
boolean
Default
0 (false)
Description
If set, the link is first wrapped with ".linkWrap" and then the <A>-tag.
Property
ATagParams
Data type
<A>-params /stdWrap
Description
Additional parameters
Example: :
ATagParams = class="board"
Property
ATagTitle
Data type
string /stdWrap
Description
Allows you to specify the "title" attribute of the <a> tag around the menu item.
Example: :
ATagTitle.field = abstract // description
This would use the abstract or description field for the <a title=""> attribute.
Property
additionalParams
Data type
string /stdWrap
Description
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
Property
doNotLinkIt
Data type
boolean /stdWrap
Default
0
Description
If set, the linktexts are not linked at all!
Property
doNotShowLink
Data type
boolean /stdWrap
Default
0
Description
If set, the text will not be shown at all (smart with spacers).
Property
stdWrap2
Data type
wrap /stdWrap
Default
|
Description
stdWrap to the total link-text and ATag. (Notice that the plain default value passed to the stdWrap function is "|".)
Property
altTarget
Data type
target
Description
Alternative target overriding the target property of the TMENU if set.
Property
allStdWrap
Data type
->stdWrap
Description
stdWrap of the whole item
[tsref:(cObject).HMENU.(mObj).TMENUITEM]