However, although I follow all the steps I do not notice any changes.
I tried to use itop 3.0 with the toolkit 3.0.0, I tried again with
itop 2.7 and the toolkit 2.7 but I still have the problem.
In particular, the steps I follow are:
install an empty extension without any dependencies inside the
extensions folder of my itop
Create the iframedashlet.class.inc.php file with the code as per
tutorial inside the extension
Use the toolkit, which does not detect any problems.
Following the tutorial I should have a white box among the available
dashlets, but it is not.
Thanks for the feedback ! Indeed, any file in the 'datamodel' section of the module.php file gets included in the iTop environment autoload (for example env-production/autoload.php)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good morning,
I have recently been using the platform and have started following
tutorials to make changes. In particular I am following this tutorial:
https://www.itophub.io/wiki/page?id=latest%3Acustomization%3Aadd-dashlet-sample.
However, although I follow all the steps I do not notice any changes.
I tried to use itop 3.0 with the toolkit 3.0.0, I tried again with
itop 2.7 and the toolkit 2.7 but I still have the problem.
In particular, the steps I follow are:
install an empty extension without any dependencies inside the
extensions folder of my itop
Create the iframedashlet.class.inc.php file with the code as per
tutorial inside the extension
Use the toolkit, which does not detect any problems.
Following the tutorial I should have a white box among the available
dashlets, but it is not.
What am I doing wrong?
this is my extension for those who want to try.
Thank you and good day.
I solved the problem, it was simply necessary to add my php class inside the datamodel array in the module of my extension
Thanks for the feedback ! Indeed, any file in the 'datamodel' section of the module.php file gets included in the iTop environment autoload (for example env-production/autoload.php)