Ask, reply and learn. Join the community of Akaunting.
Hello, i found an error undefined variable $limits from partials.admin.pagination. i created a module with index page which i include pagination (partials.admin.pagination) inside the index page. how can we fix this?
Thank you
I'm facing the same error. Did you find the solution?
Yes,
1. copy the index.php file from app\Http\ViewComposers and put the file to Modules\{modules_name}\ViewComposers\
2. create new module provider and put this code
View::composer(
'{modules_name}::index', 'Modules\{modules_name}\Http\ViewComposers\index'
);
3. add the new module provider path into module's module.json file
Showing 1 to 3 of 3 discussions