[TYPO3] TMENU - a little help

Nino nkatic at jagor.srce.hr
Wed Oct 11 16:58:28 CEST 2006


Hi,

This is the code for my menu (thx. to Tyler):

subparts.menu = HMENU
subparts.menu{
  special = directory
  special.value = 49
       1 = TMENU
       1 {
          expAll = 1
          noBlur = 1
          wrap = <ul>|</ul>
          NO.wrapItemAndSub = <li>|</li>
          }

       2 < .1
       3 < .2
       4 < .3
   }

and it produces this kind of result:

<ul>
 <li><a href="#">Level1</a>
  <ul>
   <li><a href="#">Level2</a></li>
   <li><a href="#">Level2</a>
    <ul>
     <li><a href="#">Level3</a></li>
    </ul>
   </li>
   <li><a href="#">Level2</a>
    <ul>
     <li><a href="#">Level3</a></li>
    </ul>
   </li>
  </ul>
 </li>

{i need to insert </ul><ul> here}

 <li><a href="#">Level1</a>
   <ul>
        .........etc..........
</ul>


So, what i want is to wrap every Level1 into <ul>. It's something like this 
http://dosimple.ch/articles/Menus-dynamiques/menuHorizontal.html Anybody can 
help me on this? Thx.

Nino 





More information about the TYPO3-english mailing list