De:TSref/MENUITEM
This page is document in progress. TypoScript (Liste TypoScript)
MENUITEM / Common Item States
have an look at: http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.3.2/view/1/9/#id2533454 and please integrate it:)
These properties are in common for TMENU, GMENU and IMGMENU series. That means they are not used by for instance the JSMENU.
| Eigenschaft | Datentyp | Kommentar | Standardwert |
| NO | Boolean / (config) | Dieses ist der "Normalzustand". Dieses Menü-Objekt wird von allen Menü-Typen benötigt. Wenn Eigenschaften für das Objekt gesetzt werden, dann muss es nicht mehr explizit aktiviert werden.
Das einfachste Menü, das TYPO3 erzeugen kann, ist daher: page.20 = HMENU page.20.1 = TMENU page.20.1.NO = 1 Das erzeugt einfache a-Tags mit dem Seitentitel als Linktext. |
1 |
| IFSUB
IFSUBRO |
Boolean / (config) | Aktiviert die Konfiguration für Menüelemente mit Unterseiten. | 0 |
| ACT
ACTRO |
Boolean / (config) | Enable/Configuration for menu items which are found in the rootLine | 0 |
| ACTIFSUB
ACTIFSUBRO |
Boolean / (config) | Enable/Configuration for menu items which are found in the rootLine and has subpages | 0 |
| CUR
CURRO |
Boolean / (config) | Enable/Configuration for a menu item if the item is the current page. | 0 |
| CURIFSUB
CURIFSUBRO |
Boolean / (config) | Enable/Configuration for a menu item if the item is the current page and has subpages. | 0 |
| USR
USRRO |
Boolean / (config) | Enable/Configuration for menu items which are access restricted pages that a user has access to. | 0 |
| SPC | Boolean / (config) | Enable/Configuration for 'Spacer' pages.
Spacers are pages of the doktype "Spacer". These are not viewable pages but "placeholders" which can be used to divide menuitems. Note: Rollovers doesn't work with spacers, if you use GMENU! |
0 |
| USERDEF1
USERDEF1RO |
Boolean / (config) | Userdefined, see .itemArrayProcFunc for details on how to use this.
You can set the ITEM_STATE values USERDEF1 and USERDEF2 (+...RO) from a script/userfunction processing the menu item array. See HMENU/special=userdefined or the property .itemArrayProcFunc of the menu objects. |
|
| USERDEF2
USERDEF2RO |
Boolean / (config) | (See above) |
[tsref:(cObject).HMENU.(mObj_itemStates)]
Order of priority: USERDEF2, USERDEF1, SPC, USR, CURIFSUB, CUR, ACTIFSUB, ACT, IFSUB
All *RO states requires the default RO configuration to be set up.