[TYPO3-dev] Typoscript 3 lvl menus

Stephane Baribeau stephane.baribeau at sys-tech.net
Tue Apr 21 15:52:42 CEST 2009


Hello everyone,

I have a question about TMENU

i have this code
lib.menu = HMENU
lib.menu.excludeUidList = 1,2,3,4,5
lib.menu{
    entryLevel = 0
    wrap = <ul id="menu">|</ul>
    1 = TMENU
    1 {
        expAll = 1
        #Normal State
         NO {
              allWrap.insertData=1
              allWrap= <li class="se">||<li class="pr">|| <li 
class="st"> ||  <li class="de"> || <li class="ma"> || <li class="ur">
              wrapItemAndSub = |</li>
              stdWrap.htmlSpecialChars = 1
              ATagParams = class="element"
        }
    }
      
    2 = TMENU
    2 {
        expAll = 1
        wrap = <ul class="submenu">|</ul>
       
        #Normal State
         NO {
              wrapItemAndSub = <li> | </li>
              stdWrap.htmlSpecialChars = 1
        }
    }
   
    3 = TMENU
    3 {
        expAll = 1
       
        wrap = <ul>start | end</ul>
        NO {
            wrapItemAndSub =  | </li>
            stdWrap.htmlSpecialChars = 1
        }
    }
}

the problem is the third level are expend with i select the first level. 
if i remove expAll = 1 from the 3 = TMENU
i can't expend the third level.

whats i'm doing wrong? Its my first 3-lvl menu.

thanks
-- 
*Stéphane Baribeau*
Programmeur

stephane.baribeau at sys-tech.net <mailto:stephane.baribeau at sys-tech.net>
418 520-0739 poste 129
514 907-0036 / 1-877-969-8324

*SYS-TECH / Web, médias et technologies libres*
6700 BOUL PIERRE-BERTRAND BUREAU 209
QUÉBEC QC G2J 0B4
http://www.sys-tech.net

/Membre supporteur de l'Association TYPO3 <http://typo3.org>/




More information about the TYPO3-dev mailing list