Task Manger Modifications

Started by DD Admin, Mar 05, 2022, 11:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DD Admin

Create Link Of Project Name

Code ("Find In Sources/TasksManager/Projects.php") Select
'function' => function($row)
    {
    $title = '<h6>' . $row['project_title'] . '</h6>';

Code ("Replace With") Select
'function' => function($row) use ($txt, $scripturl)
      {
    $dlink ='<a href="' . $scripturl . '?action=tasksmanager;area=tasks;sa=index;project=' . $row['project_id'] . '">' . $row['project_title'] . '</a>';
        $title = '<h6>' . $dlink . '</h6>';

Code ("Update The Status Column Find") Select
// Tasks Link
$status .= '<br /><a href="' . $scripturl . '?action=tasksmanager;area=tasks;sa=index;project=' . $row['project_id'] . '">' . $txt['TasksManager_projects_view_tasks'] . '</a>';

Code ("Replace With") Select
// Count Tasks
$status .= '<br /><strong>'. $txt['TasksManager_tasks_total'] . ':</strong> '  . $row['total_tasks'];

Add Spacing Between Modify And Delete Buttons

Code ("Find Around Line 232 In Sources/TasksManager/Projects.php") Select
<a href="' . $scripturl . '?action=tasksmanager;area=projects;sa=edit;id=%1$s">' . $txt['modify'] . '</a><br>

Code ("Replace With") Select

<a href="' . $scripturl . '?action=tasksmanager;area=projects;sa=edit;id=%1$s">' . $txt['modify'] . '</a><br><br>

Code ("Find Around Line 239 In Sources/TasksManager/Tasks.php") Select
<a href="' . $scripturl . '?action=tasksmanager;area=tasks;sa=edit;id=%1$s">' . $txt['modify'] . '</a><br>
<a href="' . $scripturl . '?action=tasksmanager;area=tasks;sa=edit;id=%1$s">' . $txt['modify'] . '</a><br><br>



Powered by EzPortal