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

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

[SOLVED] How to add a button in work place

More
23 Mai 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 Connexion or Create an account to join the conversation.

More
23 Mai 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 Connexion or Create an account to join the conversation.

More
24 Mai 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 Connexion or Create an account to join the conversation.

More
24 Mai 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 Connexion or Create an account to join the conversation.

More
25 Mai 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 Connexion or Create an account to join the conversation.

More
25 Mai 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 Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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