[TYPO3] TMenu depth

Brian typo3-english at lists.netfielders.de
Tue Sep 4 17:23:43 CEST 2007


Suppose I have a menu structure that goes 10 levels deep (I don't really but just suppose). Is there a way to do something like: 

myMenu = HMENU

# First level menu-object, textual
myMenu.x = TMENU
myMenu.x {
  #tt_content.stdWrap.dataWrap >
  
  # Normal state properties
  NO.subst_elementUid = 1
  NO.allWrap = <li class="levelx"> | </li>
  NO.ATagTitle = 
}

So that if I wanted to add an 11th level I wouldn't need to modify the template? I suppose the question I need answered is there a way to access the level and set some property for all the levels?


More information about the TYPO3-english mailing list