[TYPO3-english] Simple submenu

Gregor Hermens gregor at a-mazing.de
Mon Jul 28 16:28:09 CEST 2014


Hi,

supershivas wrote:

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

- There's a closing bracket missing between ACT an 2.
- You have to use wrapItemAndSub for all item states.

Try:

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

hth
Gregor
-- 
http://www.a-mazing.de/   |   Certified TYPO3 Integrator



More information about the TYPO3-english mailing list