i would like to assign all leads to one user, as i have approx 80 users all creating info for one user to process is this possible to default the assign to button in the leads tab to a specific user for e.g "team leader"
i would like to assign all leads to one user, as i have approx 80 users all creating info for one user to process is this possible to default the assign to button in the leads tab to a specific user for e.g "team leader"
Originally Posted by Echoreef
On the EditView.php page, you can grab the leads.assigned_user_id value.
Not looking at the code I think it's $focus->assigned_user_id;
Do a check to see if it's blank or '' .
If it is, assign it to the 36 character long id of the person you want them assigned to.
As long as you do all of this before they call main.parse (I think) and main.out (??) you should be OK.
I think that will work but if it doesn't,
go to the template and assign the value that is used on the EditView.html to the value of the id.
something like this, again, not looking at code
$xtpl->assign($variable_name,$focus->assigned_user_id);
You shouldn't need the template assignment.
Or, you could make the id default value within mysql.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks