Bug #14866
closedHMENU, special=directory is only reduced usable (without large detours)
0%
Description
If you have 2 menus with very different behaviour specificied in TS like the following:
Topline menu:
-------------------
temp.topmenu = HMENU
temp.topmenu {
special = directory
special.value = 107 (== page tree 'top')
1 = TMENU
1 {
expAll = 0
....
}
...
}
Left row menu:
--------------------
temp.leftmenu = HMENU
temp.leftmenu {
special = directory
special.value = 110 (== page tree 'left')
1 = TMENU
1 {
expAll = 0
....
}
....
}
The page tree has the form:
-------------------------------------
->Start root page
|
+--- top (id = 107)
|
+--- ...
+--- ...
+--- left (id = 110)
|
+--- ...
+--- ...
The result of this construction is:
the topmenu works very well but the leftmenu doesn't open if you click on it.
My first try to go around was:
--> shortcut from the 'Start root page' to the 'left' page tree.
This works in my local environment but (curiously) not on the life server.
My second try to go around was:
--> Insert the root template within the root template as 'Template on next level'
this brought absolutely nothing
My third try to go around was:
--> Create a template for the 'left'-page tree
--> Insert the root template as 'Include basis template'
!!!! this works !!!
until I have to use things like 'levelTitle:1'
a debug of the levelTitles presents to the following result:
at a click on a link in the top-menu:
levelTitle:0 = 'Start root page'
levelTitle:1 = 'Top'
at a click on a link in the left-menu:
levelTitle:0 = 'Left'
levelTitle:1 = 'Subpage under Left'
If it is not a bug, then it is surely a missing feature, that two directories on the same page tree level don't work in the same way.
Kindly regards,
Editha
(issue imported from #M1289)