Me Arun

Typo3 CMS Web Developer

Archive for the category “Typo3 / Typoscript”

2 Level Typoscript Menu

lib.leftmenu = HMENU
lib.leftmenu {
special = directory
special.value = 1
wrap = <ul class=”menu-item”>|</ul>
1 = TMENU
1 {
maxItems = {max. no of main menu items}
expAll = 0
NO = 1
NO.wrapItemAndSub = <li>|</li>
ACT = 1
ACT.wrapItemAndSub = <li class=”selected”>|</li>
}
2 < .1
2.wrap = <ul class=”sub-menu-item”>|</ul>
2.maxItems = {max. no of sub menu items}
}

Post Navigation