PDA

View Full Version : customization tasks & updating


Prabhakar
29-09-04, 07:29 PM
Hi

I am trying to customize DP, i have removed the task start date, end date duration part of edit task page(addedit.php)

and corresponding javascript part.
but when i try to save the task, after assigning the task to some one from the resources list, i could not see any thing in assigned field, and the record related to that task in user_tasks table will be deleted?.

and in do_task_aed.php file i did not find value for $hassign variable

pls guide me .

thanks in advance.

Regards,

Prab

caseydk
29-09-04, 10:19 PM
Why did you have to remove them? I'd suspect that you removed something else by accident...

Do a diff between that version and your original to see what the differences are. There should be no problem to saving a task without start/end dates.

Prabhakar
29-09-04, 11:11 PM
Hi,

Thanks for your quick reply, yeah you are absolutely right, i have removed the java script part of submitit()
============
else {
form.hassign.value = "";
for (fl; fl > -1; fl--){
form.hassign.value = "," + form.hassign.value +","+ form.assigned.options[fl].value
}

form.hdependencies.value = "";
for (dl; dl > -1; dl--){
form.hdependencies.value = "," + form.hdependencies.value +","+ form.task_dependencies.options[dl].value
}
=====================
it eat up lot of time.
finally i managed it.
btw, yeah we dont need the start and end dates for this time, coz the tasks will be created by our clients, so they should not enter end date(they can enter start date) , once the task has been finished the assignee will tell howmuch time he used to finish that task.

pls advice my apporach is correct or not.

thanks & regards,

Prab

caseydk
30-09-04, 07:39 AM
Well, there are never start/end dates required for tasks... but you can still use the tasklog to track time against it.

I don't think your approach was wrong, just not necessary.