-
Notifications
You must be signed in to change notification settings - Fork 64
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
How to use KoolReport in Yii2 framework? #9
Comments
I have installed it yesterday. So far so good. I'm using the advanced template and I have configured the reports to be displayed in the backend. In the simplest scenario steps are:
Those steps should work, BUT, at least in my case, I didn't have the level of control I needed over the report. So, I now follow these steps: Steps 1 to 3 are the same One thing to note though, is that in this way, you have to modify your report file if you want to include bootstrap, jquery, etc: class OperationsReport extends KoolReport .... Also, you have to configure the assets array: function settings() Otherwise you won't have styles applied. I hope this helps. |
Thanks Victor for your great answer. |
Can you paste an example please..??? |
Hi vihugarcia, Are you have any reference tutorial link. |
You may have a look at https://github.com/koolreport/yii2-example Also we have just release a package koolreport/yii2 to facilitate creating report inside Yii2 Best regards |
I installed the extension as per the instructions, and I am getting the following error: Unknown Class – yii\base\UnknownClassException Unable to find 'app\reports\test' in file: D:\wamp64\www\pmtts/reports/test.php. Namespace missing? Does anyone know why I would be getting this error, and how to fix it. Any help would be greatly appreciated |
Anybody has using KoolReport with YII2 (the last version of YII Framework)?
The text was updated successfully, but these errors were encountered: