[TYPO3-english] Simple submenu

supershivas jeromeagostini at gmail.com
Mon Jul 28 15:24:08 CEST 2014


Hi everybody,

Sorry to bother you with this classic and redundant question.
I need to add a simple menu based on the following structure:

*Home
About
Products
  Product 1
  Product 2
Contact*

Here is the TScript I use but the 2nd level never shows up.

*    TOPNAV = HMENU
    TOPNAV.wrap =<ul class="nav navbar-nav">|</ul>
    TOPNAV.stdWrap.wrap = <div id="navbar-collapse collapse">|</div>
    TOPNAV.1 = TMENU
    TOPNAV.1 {
      NO = 1
      NO {
         wrapItemAndSub = <li>|</li>
      }
      ACT = 1
      ACT {
        allWrap = <li class="active">|</li>
      }
     TOPNAV.2 < .1
     TOPNAV.2.wrap = <ul class="level2">|</ul>
    }*

I only get this :

*<div id="navbar-collapse collapse">
  <ul class="nav navbar-nav">
    <li class="active"> Home <index.php?id=2>  </li>
    <li> About <index.php?id=3>  </li>
    <li> Products <index.php?id=4>  </li>
    <li> Contact <index.php?id=7>  </li>
  </ul>
</div>*

Thanks for your help!



--
View this message in context: http://typo3.3.n7.nabble.com/Simple-submenu-tp263635.html
Sent from the TYPO3 English mailing list archive at Nabble.com.


More information about the TYPO3-english mailing list