Adding extra fields in projects and project creation

Post Reply
soplanning
Site Admin
Posts: 399
Joined: 31 Aug 2017, 15:58

Re: Adding extra fields in projects and project creation

Post by soplanning »

Yes it's possible, but it requires some development skills !
There's no easy way to do it, as you'll need to modify several places (the form, the planning, summary, etc).
soplanning
Site Admin
Posts: 399
Joined: 31 Aug 2017, 15:58

Re: Adding extra fields in projects and project creation

Post by soplanning »

you need at least to :
- upgrade the database with the new fields
- reflect those fields in file /includes/class_periode.inc
- add new inputs in /templates/periode_form.tpl and add them to the javascript/ajax submit
- apply those fields in save function, file /www/process/xajax_server.php, in function submitPeriodeForm()

best regards
User avatar
freprarif
Posts: 1
Joined: 20 Oct 2021, 12:12

Re: Adding extra fields in projects and project creation

Post by freprarif »

Hi! I tried to follow your recommendations, but it seems they don't work for me. Is there anything else you can suggest?
soplanning
Site Admin
Posts: 399
Joined: 31 Aug 2017, 15:58

Re: Adding extra fields in projects and project creation

Post by soplanning »

It's difficult to help you in blind mode.
Do you see your new fields ? is there any javascript error when you try to submit the form ?
anything that could help us to find the issue ?
Post Reply