Feature #49041
closedHMENU + special=list + depht
0%
Description
Don't know if this is a bug and if anybody can reproduce this. This is the pagetree:
+ One (Rootpage + Typoscript)+ Two+ Three
-
---+ Four
----+ Five
-----+ Six
------+ Seven
A HEMNU with special=list and expAll=0 does not render all Levels (although TMENUs are configured from 1 to 7) when you click on the navigation items after each other. The deeper levels are not expanded in some cases:
Having special.value=(One) only shows "One" and "Two", deeper Levels are not rendered after you've clicked on "Two". Having special.value=(Two) shows all Levels after you've clicked on each navigation item. Having special.value=(Deeper than one) only shows the (Deeper than one) and no deeper levels are expanded at all after you've clicked on (Deeper than one).
The HMENU TS:
@
lib.navtest = HMENU
lib.navtest{
special = list
# Please test special.value with a page from each level
special.value = 1
1 = TMENU
1{
noBlur = 1
expAll = 0
wrap = <ul class="item level-1"> | </ul>
NO = 1
NO {
doNotLinkIt = 0
wrapItemAndSub = <li> | </li>
ATagTitle.field = title
}
ACT < .NO
ACT {
wrapItemAndSub = <li class="selected> | </li>
}
}
2 < .1
2{
expAll = 0
NO{
wrapItemAndSub = <li class="uid-{field:uid}"> | </li>
wrapItemAndSub.insertData = 1
}
ACT{
wrapItemAndSub = <li class="selected uid-{field:uid}"> | </li>
wrapItemAndSub.insertData = 1
}
}
3 < .2
4 < .2
5 < .2
6 < .2
7 < .2
}
@