Hi,
I'm playing around with the widget, i would like to create my own widget to get a sort of "top host/top item" customized item to display disk spaces....
While i was playing i struggled a lot to defining prorperties in $data object.
I struggled too much until i wanted to copy the template provided in the widget tutorial on the web-guide, and i found that on the new one it is working correctly.
After this news i wanted to copy file-per-file on old project to check where is the problem, and...
Surprise i got the same result, no changes on $data properties.
Very Very strange!!!! Maybe a bug.
Now i would like to know where is the problem on mine code so i'm here to ask to the most expertised.
I've uploaded my code on git.
Below a screen of my page:


I hope someone can help me to understand the arcane.
Regards
I'm playing around with the widget, i would like to create my own widget to get a sort of "top host/top item" customized item to display disk spaces....
While i was playing i struggled a lot to defining prorperties in $data object.
I struggled too much until i wanted to copy the template provided in the widget tutorial on the web-guide, and i found that on the new one it is working correctly.
After this news i wanted to copy file-per-file on old project to check where is the problem, and...
Surprise i got the same result, no changes on $data properties.
Very Very strange!!!! Maybe a bug.
Now i would like to know where is the problem on mine code so i'm here to ask to the most expertised.
I've uploaded my code on git.
Below a screen of my page:
I hope someone can help me to understand the arcane.
Regards