Forum

[SOLVED] Add field ...
 
Notifications
Retirer tout

[SOLVED] Add field in project - planningelement

7 Posts
2 Utilisateurs
0 Reactions
7,741 Vu
(@fabiengi)
Posts: 4
Active Member
Début du sujet
 
[#2951]

Good morning,

I must add a field on the main screen "project' with a simple rule.
This field should be link to "priority'

1 - alter table : planningelement with a varchar mynewfield
2- modify lang.js (column & idcolumn)
3 - modify planningelement.php
3a - declare mynewfield
3b- add a specific rule (need to be done) case... priority -->change value of mynewfield

I can validate my project
But I loose a part of the functionality of filters & all select column.

So I need advices 🙂
Edit I still need advices but finally everything is fine now.

Regards,
Fabien


 
Posté : 22 Jan AM 11:011
(@babynus)
Posts: 14952
Membre Admin
 

Sorry, I don't understand where the question is...


 
Posté : 22 Jan PM 21:011
(@fabiengi)
Posts: 4
Active Member
Début du sujet
 

Good morning

I do not know if this is the right method.
And now I realise a screen for adding project elements and I look for a method.

I 'm not a programmer but a portfolio project manager so I'm not sure if I do it the correct way.


 
Posté : 25 Jan AM 10:011
(@babynus)
Posts: 14952
Membre Admin
 

Sorry, but htere is no clear question in your post, so I'm aftraid you'll get no answer...


 
Posté : 25 Jan PM 12:011
(@fabiengi)
Posts: 4
Active Member
Début du sujet
 

Do you have descriptions of methods ?
To add a field in existing page
To add a page in ProjeQtor


 
Posté : 25 Jan PM 12:011
(@babynus)
Posts: 14952
Membre Admin
 

To add a page in ProjeQtor

http://www.projeqtor.org/en/forum/5-ask-questions/3678-cr%C3%A9er-un-objectclass#4371

To add a field in existing page

Create field in /model/ObjectClass.php (for instance Project.php for project)
Create field with same name in database table.
That's all.


 
Posté : 25 Jan PM 22:011
(@fabiengi)
Posts: 4
Active Member
Début du sujet
 

Thank you.


 
Posté : 26 Jan PM 14:011
Share:
Retour en haut