O'Reilly logo

Mastering TypoScript: TYPO3 Website, Template, and Extension Development by Daniel Koch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Text Menus

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required