Found a bug? Report it here please
Hello,I finally figured out how to do this, I hope some of you will find it usefull.This hack basically adds a little checkbox for "Apply Duedate to Subtasks" when editing or creating a parent task. Just add the following lines of code to the files listed bellow. taskcontroller.class.php line 258
$due_date = $task->getDueDate();
$apply_dd = array_var($task_data, 'apply_duedate_subtasks', '') == "checked";
if ($apply_dd) { $sub->setDueDate($due_date); $sub->save(); }
$apply_dd = array_var($task_data, 'apply_duedate_subtasks') == "checked";
'apply duedate to subtasks' => 'Apply Due Date to Subtasks',
'apply duedate to subtasks': 'Apply DueDate to Subtasks', 'duedate': 'Due Date',
<?php echo checkbox_field('task[apply_duedate_subtasks]', array_var($task_data, 'apply_duedate_subtasks', false), array("id" => "$genid-checkapplydd")) ?><label class="checkbox" for="<?php echo "$genid-checkapplydd" ?>"><?php echo lang('apply duedate to subtasks') ?></label></div>