Skip to content
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

Question about the documentation in navbar_user.md #9

Closed
jmontoyaa opened this issue May 29, 2014 · 2 comments
Closed

Question about the documentation in navbar_user.md #9

jmontoyaa opened this issue May 29, 2014 · 2 comments

Comments

@jmontoyaa
Copy link
Contributor

In this page says that the service should be:

'my_admin_bundle.show_user_listener'

and this doesn't work I always have have the "Demo User" everywhere.

but in fact I need to overwrite the default listener with:

'avanzu_admin_theme.navbar_user_listener'

Doing that everything works:

https://github.com/avanzu/AdminThemeBundle/blob/master/Resources/docs/navbar_user.md

I propose to change 'my_admin_bundle.show_user_listener' with 'avanzu_admin_theme.navbar_user_listener' in the documentation, or delete the default listeners.

@avanzu
Copy link
Owner

avanzu commented May 29, 2014

you are correct. The listener setup provided with the services.xml is basically intended for developmnent purposes of this bundle and as reference for others. I've wrapped them in a comment so they should be disabled by default.

@jmontoyaa
Copy link
Contributor Author

Great! Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants