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
I was trying to get treemenus to create an expanding menu effect, where the children of the current page get expanded, but not other sections. (e.g. http://ukwindsurfing.com/information/regions/). NB: I'm not a programmer as such, so I may have missed a point or two.
I've got it working, as it's a similar problem to highlighting the current page. However, it's much easier with a couple of additions to the menu item model:
I know you've outlined extension methods, but as someone with limited programming experience,
it seems a lot simpler to make a couple of additions to the model (and the match_path addition to the template tags).
Could those be included by default?
I've created a patch if that helps, which is my first foray into Git.
The text was updated successfully, but these errors were encountered:
Hi,
I was trying to get treemenus to create an expanding menu effect, where the children of the current page get expanded, but not other sections. (e.g. http://ukwindsurfing.com/information/regions/). NB: I'm not a programmer as such, so I may have missed a point or two.
I've got it working, as it's a similar problem to highlighting the current page. However, it's much easier with a couple of additions to the menu item model:
Combined with the code from 'Automatically select menu items' section you can use this in the templates:
I know you've outlined extension methods, but as someone with limited programming experience,
it seems a lot simpler to make a couple of additions to the model (and the match_path addition to the template tags).
Could those be included by default?
I've created a patch if that helps, which is my first foray into Git.
The text was updated successfully, but these errors were encountered: