The simplest type of menu is the text menu (even though the other menus are not any more difficult to create). TMENU
creates a text-based menu from the page tree and the page titles defined there. The advantage of these menus lies in their speed. Although the graphical menus created by TYPO3 are relatively quick, they are noticeably slower than text menus.
TMENU
is specified below HMENU
as can be seen from the following example:
page.10.marks.MENU = HMENU page.10.marks.MENU.1 = TMENU page.10.marks.MENU.1.NO { linkWrap = <b>|</b><br /> }
This is the syntax that you use to create a text menu. There is a line break after each entry. This is done with linkWrap
, using which the menu entries that are included using the<a>
tag are enclosed within the stated tags. With NO
you can define the behavior of the NO
state; i.e. the normal state.
This results in the following text in the front end (reduced to one entry):
<b><a href="index.php?id=11" onfocus=...