We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi nicolas, Before i use your module and i use this commande to activ or not a module in my web site
module.json
{ "name": "Article", "alias": "article", "description": "Administration des articles", "keywords": [], "active": 1, "order": 0, "providers": [ "Modules\\Article\\Providers\\ArticleServiceProvider" ], "aliases": [], "files": [], "requires": [] }
@foreach ($modules as $module) <tr> <td>{{ $module->getname() }}</td> <td>{{ $module->getdescription()}}</td> <td> @if($module->getname() != "Admin" ) <form method="post" action="{{route('admin_etat_module')}}"> <input type="hidden" name="modulename" value="{{$module->getname()}}"/> <input type="checkbox" name="etat" @if($module->active) checked @endif data-size="xs" class="submit" data-style="slow " /> {{csrf_field()}} </form> @endif </td> </tr> @endforeach
But in a new version i have this error
Undefined property: Nwidart\Modules\Laravel\Module::$active (View: E:\01-www\a2imv2\Modules\Admin\Resources\views\module.blade.php)
How i can make it for enable or disable module for my all user?
thanks for your help!
The text was updated successfully, but these errors were encountered:
I guess this is what you're looking for: https://nwidart.com/laravel-modules/v6/advanced-tools/module-methods
Sorry, something went wrong.
Please use the issue tracker of the package: https://github.com/nWidart/laravel-modules
No branches or pull requests
Hi nicolas,
Before i use your module and i use this commande to activ or not a module in my web site
module.json
in my module page i make as :
module.blade.php
But in a new version i have this error
Undefined property: Nwidart\Modules\Laravel\Module::$active (View: E:\01-www\a2imv2\Modules\Admin\Resources\views\module.blade.php)
How i can make it for enable or disable module for my all user?
thanks for your help!
The text was updated successfully, but these errors were encountered: