Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
I want How to pass the namespace ,it is the path of the file or what . if I'm passing the name space as file path then i getting error as file not found and dashboard not found.
namespace demo\orders;
use \koolreport\dashboard\Dashboard;
when I'm executing the report i getting error above two places
in the below code how to pass namespace. it is the path of the file or what . if I'm passing the name space as file path then i getting error as file not found and dashboard not found.
<?php
namespace demo\orders;
use \koolreport\dashboard\Dashboard;
use \koolreport\dashboard\containers\Row;
use \koolreport\dashboard\containers\Panel;
use \koolreport\dashboard\containers\Html;
class employeedashboard extends Dashboard
{
protected function content()
{
return [
employeedashboardtable::create()->lazyLoading(true),
];
}
}
The namespace is calculated from the namespace of the App file, for example, you have app file like this with namespace myapp.
<?php
namespace myapp;
use \koolreport\dashboard\Application;
class App extends Application
{
}
You have a folder "mysub" like this:
|-mysub
|--MyDashboard.php
App.php
Then the MyDashboard should have namespace "myapp/mysub" like this:
<?php
namespace myapp\mysub;
use \koolreport\dashboard\Dashboard;
class MyDashboard extends Dashboard
{
}
Hope that with my example, you understand the way namespace and file folder are set up
Hi Team ,I have implemented the dashboard in my application but i'm getting koolreport dashboard, header and footer in my application .i don't want dashboard menu in my application , i already having menu in my application. After implementation my application menu also dusturbed.
I'm sharing the output screen shots.
but i want only the output , not dashboard menu means report statistics and test statistics.
Dashboard is different from KoolReport, it is full functional web application so you should not put dashboard inside a page of your application. Rather, you let it a separate place in which there is no interference of your application. For example, you create a folder containing your dashboard and pointing url to the index.php in that folder when you want to access dashboard.
Hi Team, I want to use the dashboard with in the application only. I Don't want to create new folder for dashboard. In my application I having menu, header and footer. if I'm creating a separate folder for dashboard and what is the use for application dashboard i.e application and dashboard both are different , so we no need to differentiate the application and dashboard.I want dashboard in my application only same like reports.so please guide me as per my requirement.
Hi Komurajah,
It seems hard. I suggest that you should you the KoolReport Pro only so that you have flexibility to create any content, any app structure that you need.
Dashboard Framework serve more specific need of fast creating kpi dashboard or admin panel so we have to scarify the flexibility for the easy-to-use and ready-made functionalities.
I will send your feedback to dev.team so that they can do something in future.
Best regards,
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo