Hello,
I created a new menu in the menu table with the "item" type (as I just want to display some really simple content, not a list of objects). I had to modify the "loadMenuBarItem" function in projeqtorDialog.js : it works well, but is there a way to link the new menu with my new content without having to modify this function in the source code?
Thank you!
You need to give this information.
You can use the plugin system to include your own code.
I tried to use the plugin system (kinda) :
- I added a line in the menu table and in the plugin table
- I created a new folder for my plugin in the existing "plugin" folder
- Inside that folder, I created a javascript file with the following line:
"pluginMenuPage['menuMyTest']='../plugin/myTest/test.html'; // Screen to load on menu call"
It works well with the HTML content, but how can I add some javascript code too?