[Typo3] entryLevel menu problem
raluca oprean
raluca at sds.ro
Tue Feb 15 11:42:48 CET 2005
Hi list
I have a 3 level menu and I need the first level as a horizontal menu and the second and the third level as a vertical menu.
I have entered in the vertical menu the code "...entryLevel = 1" but I get the first child of the first node, the second child of the second node and so on, I don't get to show all the childern of the current node.
Here is the code:
from the menu template:
#temp.firstLevelMenu >
temp.firstLevelMenu = HMENU
temp.firstLevelMenu.1 = TMENU
temp.firstLevelMenu.1.NO{
noLinkUnderline = 1
linkWrap = <font face=verdana size=2 color=#4AA794> | </font>
expAll = 0
}
temp.secondLevelMenu = HMENU
temp.secondLevelMenu.entryLevel = 1
temp.secondLevelMenu.1 = TMENU
temp.secondLevelMenu.1{
expAll = 1
wrap = <table width="95%" height="60%" cellspacing=0 cellpadding=0>|</table>
NO.linkWrap = <font face=verdana size=2 color=#4AA794> | </font>
NO.allWrap = <tr><td>|</td></tr>
}
temp.secondLevelMenu.2 = TMENU
temp.secondLevelMenu.2 {
wrap=<tr><td nowrap>|</td></tr>
NO{
expAll = 1
beforeImg = media/bullets/bullet1_n.gif
beforeROImg = media/bullets/bullet1_h.gif
RO=1
after = <br>
ATagBeforeWrap=1
linkWrap =<font face=verdana size=2 color=#4AA794>|</font>
}
}
and from the main template:
...
workOnSubpart = DOCUMENT_BODY
subparts.DOCUMENT_FLMENU < temp.firstLevelMenu
subparts.DOCUMENT_SLMENU < temp.secondLevelMenu
...
Can anyone tell me where is the mistake?
Thank you!
- raluca oprean (raluca)
-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/
More information about the TYPO3-english
mailing list