Typo3 Snippets

Override Content

Recently I was working on a portion of a web site that required dynamic menus. However, I needed to override those dynamic menus for certain pages in the web site with custom menus. It is possible to achieve this using typoscript.


Dynamic Navigation Menu for Site Depth

Include the following typoscript in your root page template to dynamically generate a text based navigation menu that provides the full path of the current page from the root of the site.

depth = HMENU
depth.special = rootline
depth.1 = TMENU
depth.1.NO.linkWrap = | / |*||*| |

This will give a root line something like this:
      Home / [...]