[TYPO3] TMENU-problem

Johan Dalström jdks388 at hotmail.com
Wed Jun 14 15:35:46 CEST 2006


Good afternoon, everyone.

I'm trying to setup my menustructure for my site. The first level of the 
menu is shown as a GMENU and the idea is that the second levels should be a 
TMENU on another part of the page.

My problem is that the TMENU shows the level 1 menuitems, and not the level 
2 items as it should. I've been through all the documentation but can't seem 
to figure this one out.

My code:
# The top graphical menu
temp.menu_1 = HMENU
temp.menu_1.1 = GMENU
temp.menu_1.1.NO {
  #XY = [10.w]+20,20
  backColor = |*| #cccccc || #eeeeee |*|
  10 = TEXT
  10.text.field = title
  10.offset = 0,13
  10.align = center
  10.niceText = 1
}

temp.menu_1.1.RO < temp.menu_1.1.NO
temp.menu_1.1.RO = 1

temp.menu_1.1.RO {
  backColor = red
  10.fontColor = white
}

# The left textual menu
temp.textmeny = HMENU
temp.textmeny.1 = TMENU
temp.textmeny.1 {
entryLevel = 2
expAll = 1
   # Normal state properties
NO.allWrap = &nbsp;&nbsp;&nbsp;<img 
src="fileadmin/extranet/images/li_sub.gif" border=0><span 
class="HeaderDate">|</span><br>
   # Enable active state and set properties:
ACT = 1
ACT.allWrap = &nbsp;&nbsp;&nbsp;<img 
src="fileadmin/extranet/images/li_sub.gif" border=0><span 
class="HeaderDate">|</span><br>
}

I cannot for the life of me understand why TMENU is ignorning the entryLevel 
I'm setting and would really appreciate a nudge in the right direction.

Thanks in advance,

Johan

_________________________________________________________________
Trött på onödiga kilon? http://www.msn.se/halsa/tappa/




More information about the TYPO3-english mailing list