[TYPO3-english] TMENU custom list

Varga Zsolt vzsolt1981 at gmail.com
Thu Jun 3 11:08:32 CEST 2010


Hi,

I am stucked with my delicious problem,

namely I have a TMENU used to show menu by the page structure.

That's the script:

lib.topmenu = HMENU
lib.topmenu.1 = TMENU
lib.topmenu.1 {
  NO.allWrap = |*||*| <li style="width: 180px;">|</li> || <li
style="width:200px;background:none;">|</li>
  ACT = 1
  ACT < NO
  IFSUB = 1
  IFSUB.allWrap = |*||*| <li style="width: 180px;">|&nbsp; || <li
style="width:200px; background:none;">|&nbsp;
  expAll = 1
}

lib.topmenu.2 = TMENU
lib.topmenu.2.wrap = <div class="co"><ul> | <p></p></ul></div></li>
lib.topmenu.2 {
  NO.allWrap = <li> | </li>
  ACT = 1
  ACT.allWrap = <li class="active"> | </li>
  NO.ATagParams = |*||*| style="" || style="background:none"
}


However, I need for one level 1 (precisely the the 4th main menu item)
menu to display a custom list as a submenu (so I wanna set up a manual
array), not its usualy subpages in the level 2 menu.

Tried many found examples, but couldn't make any to work...


Anyone can help me?

Thanks in advance.

Kind regards,
Zsolt


More information about the TYPO3-english mailing list