You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typical scenario: there are two menus (representing one tree), one on top (tab based, contains 1st level items), and sidemenu (contains 2nd and 3rd level items)
Tree structure looks like this:
Home
About
User
Change password
Messaging
Read messages
Latest
Unread
Legal
Top menu items:
Home
About
User
Legal
Side menu shows two levels starting from top menu. When any page in tree of "User" is selected, sidemenu should be:
Change password
Messaging
Read messages
Question: how do I show sidemenu?
Possible options are:
using trunk -- problem is you don't know which branch of top menu is selected.
using this-* -- problem is that "this" position changes depending on current page.
Is it possible to get something like current-active-branch-2nd-level-from-top and item.is_in_active_branch()
Thank you.
The text was updated successfully, but these errors were encountered:
It seems that the effect could be achived by using the second option and playing around with custom templates.
Something similar to 'item.is_in_active_branch' feature is planned. Can say nothing about 'current-active-branch-2nd-level-from-top' for now, except that such-long-identifiers make me feel uneasy %)
Typical scenario: there are two menus (representing one tree), one on top (tab based, contains 1st level items), and sidemenu (contains 2nd and 3rd level items)
Tree structure looks like this:
Top menu items:
Side menu shows two levels starting from top menu. When any page in tree of "User" is selected, sidemenu should be:
Question: how do I show sidemenu?
Possible options are:
Is it possible to get something like current-active-branch-2nd-level-from-top and item.is_in_active_branch()
Thank you.
The text was updated successfully, but these errors were encountered: