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].
Properties¶
wrapItemAndSub¶
subst_elementUid¶
- subst_elementUid¶
- Data type
boolean
- Default
0 (false)
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.
ATagBeforeWrap¶
- ATagBeforeWrap¶
- Data type
boolean
- Default
0 (false)
If set, the link is first wrapped with ".linkWrap" and then the <A>-tag.
ATagParams¶
ATagTitle¶
- ATagTitle¶
- Data type
string /stdWrap
Allows you to specify the "title" attribute of the <a> tag around the menu item.
Example: :
EXT:site_package/Configuration/TypoScript/setup.typoscript¶ATagTitle.field = abstract // description
This would use the abstract or description field for the <a title=""> attribute.