[TYPO3-english] Typoscript menu
Karin Meulengrath
karin at meulengrath.dk
Sun Jun 4 12:07:39 CEST 2017
Hi
Hope someone can help.
I am working on a menu that has level 1 & 2 op the top and level 3 in a different box on the left side.
This is the typoscript I use at the moment. No problem to outcomment level 3.
But how do I write the script for the 3 level?
(Thanks for helping)
lib.topmenu = HMENU
lib.topmenu.entryLevel = 0
lib.topmenu.1 = TMENU
lib.topmenu.1 {
expAll=1
noBlur=1
wrap = <ul id="ul_nav">|</ul>
NO = 1
NO.allWrap = <li>|</li>
ACT = 1
ACT.allWrap = <li class="act_menu">|</li>
ACTIFSUB = 1
ACTIFSUB.allWrap = <li class="act_menu">|
IFSUB = 1
IFSUB.allWrap = <li>|
}
# Extra level 1
lib.topmenu.2 < lib.topmenu.1
lib.topmenu.2.wrap = <ul>|</ul></li>
# Extra level 2
lib.topmenu.3 < lib.topmenu.1
lib.topmenu.3.wrap = <ul>|</ul></li>
More information about the TYPO3-english
mailing list