-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
No way to add laminas-navigation to a basic mezzio skeleton application #33
Comments
Most likely it is due to view helper manager key in container not matching. laminas-navigation/src/ConfigProvider.php Line 39 in b73ffcc
Try to add a copy of delegator configuration with |
Hi @Xerkus , After that modification I can see Navigation works, but another issue comes up:
It seems that in the Thanks again |
I checked the code and there is no support for Mezzio. Factories are MVC specific and component itself uses Laminas\Http. Documentation uses installation page template that implies support for Mezzio, which is wrong. |
Going to close this as a duplicate of #2 |
Bug Report
Summary
Starting from a fresh installation of Mezzio skeleton application, it seems there is no way to make laminas navigation View Helper plugin works.
Current behavior
Following the installation instructions on a Mezzio skeleton application, this error comes up:
How to reproduce
Starts installing the Mezzio skeleton application. Choose laminas-view, laminas-router and laminas-service-manager.
Follow the installation instruction of laminas-navigation.
Add some navigation items in mezzio.global.php file.
Expected behavior
The navigation() plugin should be usable in the layout.
The text was updated successfully, but these errors were encountered: