Hey! I've looking for a tutorial in which I could learn how to add a button that could execute a PHP code. I want to add this one to every single modifying view of different classes. The place is exactly here:
Hello, What do you mean "here" ? Seems like you want a new action button on a defined iTop class, in details mode ?
Indeed? One way to do so is to create a menu item for the "Other actions" menu. In iTop's config file, you can then promote this to a button.
https://github.com/jbostoen/itop-jb-report-generator/blob/master/app/core/applicationextension.class.inc.php contains an (extended) example on how to add menu actions or even forcefully show a button (Combodo might have a nicer way to force this?)
Log in to post a comment.
Hey! I've looking for a tutorial in which I could learn how to add a button that could execute a PHP code. I want to add this one to every single modifying view of different classes. The place is exactly here:
Hello,
What do you mean "here" ? Seems like you want a new action button on a defined iTop class, in details mode ?
Indeed? One way to do so is to create a menu item for the "Other actions" menu. In iTop's config file, you can then promote this to a button.
https://github.com/jbostoen/itop-jb-report-generator/blob/master/app/core/applicationextension.class.inc.php contains an (extended) example on how to add menu actions or even forcefully show a button (Combodo might have a nicer way to force this?)