[TYPO3-english] Simple submenu
David Gurk
dgurk at medienwerft.de
Mon Jul 28 15:55:46 CEST 2014
It could be, that you need "expAll = 1" under the TMENU:
http://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/Tmenu/Index.html
-----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von supershivas
Gesendet: Montag, 28. Juli 2014 15:24
An: typo3-english at lists.typo3.org
Betreff: [TYPO3-english] Simple submenu
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.
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list