Re: Modularizing the Dashboard

A demo for this modification was not prepared @kvvaradha, will inform once it is ready.
But all source codes and instruction can be found in post #18, you can get this work easily in about 5 minutes, an example for a module in post #19 was attached as well.

Phuong

Re: Modularizing the Dashboard

Yes ofcourse, But when i try, i got this error

Undefined variable: title in file: /var/www/246/reporting/includes/dashboard_classes.inc at line 233

Re: Modularizing the Dashboard

Undefined variable error has been fixed.
New source code can be downloaded HERE
Thank you @kvvaradha

Post's attachments

dashboard_02.zip 20.2 kb, 1 downloads since 2019-01-16 

You don't have the permssions to download the attachments of this post.
Phuong

Re: Modularizing the Dashboard

Perfect @notrinos. I got it working. Very Simple Just like Reports. Hats off to you.

Here is the Screen Shot.

@apmuthu as you said in Post#24, I think @notrinos is just showing his work to be included in the Core if found useful for all developers. Once decided, optimizing the code and structure to be used in separate folder or reporting folder can be done by our gurus @Joe and @itronics.

My vote is 100% for this modification to be included in the core.

Post's attachments

Widget.png 208.6 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.
www.boxygen.pk

Re: Modularizing the Dashboard

@notrinos: Thanks. The fix now includes the missing variable $title in the function arguments. It is also a property in the Widget class.

Re: Modularizing the Dashboard

I fear, this thread may die. I request other developers to test and give their feedback. @joe, @itronics please do consider this in core.

www.boxygen.pk

Re: Modularizing the Dashboard

It seems every one is too busy smile

www.boxygen.pk

Re: Modularizing the Dashboard

No, but we have been busy fixing an SQL Injection problem.
Give me some time to evaluate this. It seems good.

/Joe

Re: Modularizing the Dashboard

Good news smile

www.boxygen.pk

Re: Modularizing the Dashboard

Hello all, and especial @notrinos.

I have been looking at your work, @notrinos, and it looks very good. I think it should be implemented in the core for release 2.5.

I only have one suggestion. Instead of using the reporting folder I would rather like to make this folder inside the new dashboards folder. and also the includes folder. f.i.
a folder called: widgets and inside this folder all the widgets and the includes folder.

The reason for this is that the reporting folder is more addressed to the reporting system.

We could use all the widgets or some of them in the core. I haven looked at this in detail yet. This is a matter of taste.
I guess you have taken all the current widgets, right?

I will have a talk with Janusz, about merging the stable 2.4.6 into the unstable version and call it 2.5 Alpha, and then we can implement your dashboard variant, is that ok @notrinos.

Janusz has been working on your HRM, but I don't know how far he is, but I think this HRM should also be in the 2.5.  I guess it need to be 'merged' with your new ideas as well.

Thank you all for your coorporations in this matter.

/Joe

Re: Modularizing the Dashboard

In the 2.5 alpha, make provisions in the db for the bin concept in the warehousing for inventory - long overdue.

Re: Modularizing the Dashboard

Great

www.boxygen.pk

Re: Modularizing the Dashboard

Yes @joe, it all are definitely good.
And if Jquery could be included in the 2.5 I would take a plan for a javasript chart library also.
Can't wait to see breakthroughs in the next major release.

Thank you all

Phuong

Re: Modularizing the Dashboard

great looking forward

ANOOP
membtech.in