Forum

[SOLVED] Add field ...
 
Notifications
Clear all

[SOLVED] Add field in project - planningelement

7 Posts
2 Users
0 Reactions
7,742 Views
(@fabiengi)
Posts: 4
Active Member
Topic starter
 
[#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


 
Posted : 22 Jan 2016 11H18
(@babynus)
Posts: 14952
Member Admin
 

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


 
Posted : 22 Jan 2016 21H34
(@fabiengi)
Posts: 4
Active Member
Topic starter
 

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.


 
Posted : 25 Jan 2016 10H48
(@babynus)
Posts: 14952
Member Admin
 

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


 
Posted : 25 Jan 2016 12H02
(@fabiengi)
Posts: 4
Active Member
Topic starter
 

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


 
Posted : 25 Jan 2016 12H11
(@babynus)
Posts: 14952
Member 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.


 
Posted : 25 Jan 2016 22H45
(@fabiengi)
Posts: 4
Active Member
Topic starter
 

Thank you.


 
Posted : 26 Jan 2016 14H54
Share:

Scroll to Top