Tomáš Jacík
Tomáš Jacík
Jak ty platby vůbec testuješ?
It's because of changes in `nette/application`. You can solve this by using older version of `nette/application`. We don't have fix for this yet. If you know where is the problem,...
@patrickkusebauch This is mostly solved in menu template. Have you custom template? If yes, can you post it?
Thanks for reporting. Can you please add example code how to induce this bug?
You are right, but I only took over this repository, didn't design it. I will need to look into it deeper. Would be nice if you could send PR with...
@patrickkusebauch I see test is [already present](https://github.com/contributte/menu-control/blob/master/tests/Tests/MenuItemTest.phpt#L19). All tests are passing. In template, you need to call `isAllowed()` and that will call `isMenuItemAllowed()` from you authorizator. Didn't saying this is...
Yes, this will be probably the cause, because `menu-control` uses `LinkGenerator` which don't known about current state of presenter persistent parameters and thus uses default values. Solution would be create...
@darkWolf-PR You can inject nette `User` or better `IUserStorage` to menu authorizator using contructor. You can use this condition I believe: ```php if (count($menuItem->getVisibleItemsOnMenu())) { // show menu } ```
Since this is not `menu-cottrol` bug, closing issue.
@darkWolf-PR I'm adding complete example of what is working for me. Hope it will help you. It could definitelly work better and docs should be updated too. I will look...