View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] How to add a button in work place - ProjeQtOr
 
 

[SOLVED] How to add a button in work place

More
23 May 2016 11:18 #1 by keloniton
Hello Dear Mr babynus;
I appreciate if you help me with the following considerations:
1. I want to add a button in the place which we make an activity. Where is the related source code.
2. I want to add some reports. Where is the related source code.
Thank you very much

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

More
23 May 2016 21:47 #2 by babynus
1) in objectButton.php
2) Need to create report in table report, then report parameters in table reportparameter, the corresponding report file in /report

Babynus
Administrator of ProjeQtOr web site

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

More
24 May 2016 21:07 #3 by keloniton
Thanks for your answer. I checked objectButtons.php. As i understood it is related to the buttons on top. I showed the place i want to place my button in the attached photo.
Thank you very much
Attachments:

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

More
24 May 2016 22:10 #4 by babynus
This king of button is designed in drawSpecificItem()
For instance have a look at this fnction in /model/WorkElement.php

Babynus
Administrator of ProjeQtOr web site

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

More
25 May 2016 00:05 #5 by keloniton
Dear Mr babynus
Thank you for your reply Sir. My question refers to the place where this button is supposed to be located. I know how to make a button, but i do not know which file refers to the part i signed in the attached file.
thank you very much.

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

More
25 May 2016 08:19 #6 by babynus
It is really done in drawSpecificItem($item)
You need to have a field $_spe_yourItem in fields list, where you want to place it.
Then in drawSpecificItem($item), test if ($item='yourItem') and generate html objects you need.
Really, have a look at this fnction in /model/WorkElement.php, you should understand better.

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.056 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.