Menu

Create iTopWebPage

RubenS
2024-08-13
2024-08-13
  • RubenS

    RubenS - 2024-08-13

    Hello everyone,

    I'm trying to create an iTopWebPage from scratch, but I'm not able to do it. What I've tried is adding the file with what's shown in the Pages folder in the root directory of iTop, but nothing is displayed. Is it possible to do this through an extension? Could someone guide me a bit on this topic?

    Thanks.

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2024-08-13

    You might want to show a bit more of your code, and explain what you're trying to accomplish?

     
  • RubenS

    RubenS - 2024-08-13

    I haven't developed code yet since I'm not very clear on how to do it, or even if it's possible. Is it possible to create a page like exec.php, csvimport.php, run_query.php... regardless of what it contains?

     
  • Guillaume Lajarige

    Hello RubenS,

    You ca take a look at the "itop-core-update" module, you'll need to make a controller and a template in your module, then you'll be able to to access a iTopWebPage :)

    Hope it helps,
    Guillaume

     
  • RubenS

    RubenS - 2024-08-13

    I used the itop-core-update module as a reference and was able to successfully implement it.

    Thank you for your assistance!

     
    👍
    1
  • Guillaume Lajarige

    You're welcome, glad to see you were able to do it! :)

    Take care,
    Guillaume

     

Log in to post a comment.