[TYPO3] GEMENU hide level 1 NO

Bas van der Togt b.vandertogt at profinit.com
Thu Mar 23 13:18:21 CET 2006


How can i hide the first level menu in the NO avtivity?
I only want to show the item in the ACT activity in level 1.
This is my code:

# Menu Left Level 1
temp.MenuLeft = HMENU
temp.MenuLeft.entryLevel = 0
temp.MenuLeft.1 = GMENU
temp.MenuLeft.1.NO {
   wrap = <table border="0" cellspacing="0" cellpadding="0"><tr 
height="0"><td>|</td></tr><tr height="0"><td bgcolor="#FFFFFF" 
height="1"></td></tr></table>
   XY = 183,0
   backColor = #B0B1B3
   10 = TEXT
   10.text.field = title
   10.fontColor = #FFFFFF
   10.fontFile = t3lib/fonts/verdana.ttf
   10.niceText = 0
   10.offset = 10,15
   10.fontSize = 10
}

# Menu Left Level 1
temp.MenuLeft.1.ACT < temp.MenuLeft.1.NO
temp.MenuLeft.1.ACT = 1
temp.MenuLeft.1.ACT {
   allWrap = |*| <div id="orgmenu">|</div> || <div id="prodmenu">|</div> 
|| <div id="dienstmenu">|</div> || <div id="marktmenu">|</div> || <div 
id="contmenu">|</div>  |*|
   wrap = <table border="0" cellspacing="0" 
cellpadding="0"><tr><td>|</td></tr><tr><td bgcolor="#FFFFFF" 
height="1"></td></tr></table>
   XY = 183,20
   backColor = |*| #BED600 || #A2AD00 || #878800 || #5B8F22 || #7AB800 |*|
   10 = TEXT
   10.text.field = title
   10.fontColor = #FFFFFF
   10.fontFile = t3lib/fonts/verdana.ttf
   10.niceText = 0
   10.offset = 10,15
   10.fontSize = 10
}



More information about the TYPO3-english mailing list