[TYPO3-english] nesting tt_products catmenu to hmenu

Matyi Gábor gmatyi at freemail.hu
Tue Dec 20 23:29:58 CET 2011


Hi!

It is possible nesting the tt_products catmenu to HMENU?

Here is my ts. The pid=20 is on the 2 level, I'd like to insert the 
lib.catmenu tree under pid=20, instead of the 3. level. Unfortunately 
the [PIDinRootline = 20] does not this.


lib.catmenu < plugin.tt_products
lib.catmenu {
     code = MENUCAT
}

# main menu
lib.mainmenu = HMENU
lib.mainmenu {
   entryLevel=0
   1 = TMENU
   1.wrap = <ul>|</ul>
   1{
     noBlur=1
     expAll = 1
     NO{
       wrapItemAndSub = <li class="sel">|</li>
     }
     ACT=1
     ACT{
       wrapItemAndSub = <li class="sel">|</li>
     }
     CUR=1
     CUR{
      wrapItemAndSub = <li class="sel">|</li>
     }
   }
   2 = TMENU
   2.wrap = <ul>|</ul>
   2{
     noBlur=1
     expAll = 1
     NO{
       wrapItemAndSub = <li>|</li>
     }
     ACT=1
     ACT{
       wrapItemAndSub = <li class="sel">|</li>
     }
   }
   3 = TMENU
   3.wrap = <ul>|</ul>
   3{
     noBlur=1
     expAll = 1
     NO{
       wrapItemAndSub = <li>|</li>
     }
   }
}


Do anybody has any idea?

Thanks. Gabor



More information about the TYPO3-english mailing list