Menu

problems viewing changes customizing itop

2022-05-16
2022-06-29
  • Riccardo Falzea

    Riccardo Falzea - 2022-05-16

    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:

    1. install an empty extension without any dependencies inside the
      extensions folder of my itop

    2. Create the iframedashlet.class.inc.php file with the code as per
      tutorial inside the extension

    3. 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?

     
  • Riccardo Falzea

    Riccardo Falzea - 2022-05-17

    this is my extension for those who want to try.
    Thank you and good day.

     
  • Riccardo Falzea

    Riccardo Falzea - 2022-05-18

    I solved the problem, it was simply necessary to add my php class inside the datamodel array in the module of my extension

     
  • Pierre Goiffon

    Pierre Goiffon - 2022-06-29

    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)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.