I am currently working on a new site with Typo3, Version 7.3. This site will have a menu that should list all levels no matter of the current page. I tried with this TypoScript (which I also found on the internet in very similar variants):
MENU = HMENU
MENU.special = directory
MENU.special.value = 5
MENU.1 = TMENU
MENU.1 {
wrap = <ul>|</ul>
expAll = 1
NO = 1
NO {
wrapItemAndSub = <li>|</li>
}
ACT = 1
ACT {
wrapItemAndSub = <li class="active">|</li>
}
}
MENU.2 < MENU.1
MENU.2.wrap = <ul>|</ul>
Unfortunately this only outputs the first level of the page tree. Did I miss something? (The examples I found on the internet mostely related to version 6.x of Typo3) Is there some new command/syntax for menus in version 7.x of Typo3?
Thanks a lot for your help!
meanwhile I found a solution (which I don't fully understand):
So all I changed is putting everything in MENU into a block ( {...} ) instead of using the dot-notation. To my understanding this should actually not make any difference, right?