-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hinclude and active item #250
Comments
you would need to register your own menu voter to determine the current item in a different way |
probably you right, but i cannot find tutorial for this, in documentation are few lines who do not adequately explain imho :/ |
Create a service implementing the VoterInterface of KnpMenu, and tag it with the |
i can try it again, thx |
Closing as this issue can be fixed by a custom voter, as explained by @stof. I hope you figured out how to do it! (please note that voters are now documented in the KnpMenu library) |
Hi,
knpmenu bundle works great, but i have problem when using hinclude (refreshing partial view in browser)
its normal because hinclude in symfony2 calling url /_fragment... so knpmenu bundle dont know from this url which navigation item is active/current.. any idea how can solve this please ? thx
The text was updated successfully, but these errors were encountered: