Common menu item properties

We've looked at the menu as a whole, but a lot of our TypoScript configuration revolves around the menu items themselves. Editing all of the menu items in TypoScript is not hard, but it's not completely straightforward. When we are adding TypoScript configuration like HTML tags to all of our menu items, we will always start by assigning them to the normal (NO) state. For example, we haven't talked about the specific properties available yet, but the following TypoScript code will assign a class to all of the menu links:

lib.mainMenu.1 = TMENU
lib.mainMenu.1.NO.ATagParams = class="menu-links"

Here are some of the most common menu item properties that we might use in our TypoScript templates:

Property

Description

Get TYPO3 Templates now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.