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

Menu isn't visible #25

Open
ghost opened this issue Apr 29, 2015 · 2 comments
Open

Menu isn't visible #25

ghost opened this issue Apr 29, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 29, 2015

Good evening,

for testing purposes I use the example from "http://sky.pingpong-labs.com/docs/2.0/menus".

But when I test this, I get an site, without menu.

"First, create a file called menus.php in your app/ folder, alongside with routes.php and filters.php. The file will be automatically include if the file exists. And you can define your menus in that file."

routes.php is in folder app/http .. where is the correct place?

Please help, thanks!

@ghost
Copy link
Author

ghost commented Apr 29, 2015

Documention has an error. File path needs to set to "app/Support/menu.php" .. why is the docu so incorrect ?

Next error:

ErrorException in menus.php line 6: Argument 1 passed to Pingpong\Menus\MenusServiceProvider::{closure}() must be an instance of Pingpong\Menus\Builder, instance of Pingpong\Menus\MenuBuilder given, called in E:\Entwicklung\htdocs\netconception-cms\vendor\pingpong\sky\src\Pingpong\Menus\Menu.php on line 55 and defined

@gravitano
Copy link
Member

You create your menus.php file anywhere, but you may need to require that
file to AppServiceProvider class (L5) on boot method. The documentation is
out of update. I haven't updated it yet. Sorry for the incorrect
documentation.
On Kam, 30 Apr 2015 at 01.45 virtualstep notifications@github.com wrote:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible
for Automatic Cleanup! (notifications@github.com) Add cleanup rule
https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3D4%252ByE2lKOeccOSeh8%252FULOig%252BBTAC5C44SDwfb7MvxbXKzF98KLtcYkx6AmPx93uurO0sHb8hEMZ3%252By5nkc8OJklggJF8%252BWFE%252FxIKHH4FjkjFvkeG%252F6clhXIk%252B8%252FfjWLCZI%252FhLU%252BL4JJHNsCuAh2kgXg%253D%253D%26key%3DstzQMGJY792FwNBvSq5Nk32qAXVS5cesmj5V%252Fezckew%253D&tc_serial=21177331770&tc_rand=710752442&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
| More info
http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=21177331770&tc_rand=710752442&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001

Good evening,

for testing purposes I use the example from "
http://sky.pingpong-labs.com/docs/2.0/menus".

But when I test this, I get an site, without menu.

"First, create a file called menus.php in your app/ folder, alongside with
routes.php and filters.php. The file will be automatically include if the
file exists. And you can define your menus in that file."

routes.php is in folder app/http .. where is the correct place?

Please help, thanks!

Reply to this email directly or view it on GitHub
#25.

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

1 participant