View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Creating a new page - ProjeQtOr
 
 

Creating a new page

More
25 Apr 2022 11:12 #1 by ratsi
Creating a new page was created by ratsi
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!

 
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Apr 2022 17:45 #2 by babynus
Replied by babynus on topic Creating a new page
You need to give this information.
You can use the plugin system to include your own code.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
26 Apr 2022 14:54 - 26 Apr 2022 15:00 #3 by ratsi
Replied by ratsi on topic Creating a new page
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='../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? 
Last edit: 26 Apr 2022 15:00 by ratsi.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.044 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.