Page 1 of 1

add manager field

Posted: Sat Aug 31, 2019 3:13 am
by aldopaee
Hi
How do I edit the users page and add the manager field

Re: add manager field

Posted: Mon Sep 02, 2019 11:57 pm
by amosbatto
Why can't you use Departments and assign managers that way?

If you want to hack the source code, the edit user page is generated by the JavaScript code in:
workflow/engine/templates/users/users.js

This page is displayed by:
workflow/engine/methods/users/usersEdit.php

When the user form is submitted, it is processed by:
workflow/engine/methods/users/usersAjax.php
Look for the code under:
Code: Select all
    case 'saveUser':
    case 'savePersonalInfo':
I don't recommend hacking the source code. It is much easier to simply add your directory structure in a PM table and query that and use Value Based Assignment, instead of Reports To assignment for your tasks.

Re: add manager field

Posted: Tue Sep 03, 2019 5:27 am
by aldopaee
Hello my friend
I added my code and it worked fine
Thank you from my heart